Im freaking out !

So I had sex a couple of weeks ago maybe two or three and two days ago this lump formed and it’s painful and today it had a smelly brown discharge coming out I’m scared because this is out of the norm sometimes I break out before my period or after I shaved but this is weird it smelt horrible and I’m scared I might have contracted something or am I just over reacting?