You wore a condom which is good. You can still get some std's with condom used such as herpes on the exposed area, syphilis (they'd have to have had a sore) or hpv. But NONE Of those would cause an issue immediately like that. You can look into epididymitis but it would be doubtful to be from this episode yesterday. https://www.webmd.com/men/what-is-epididymitis#1