Pain days after sex

I had sex on July 3rd and it was my second time having sex. I’m experiencing a little bit of pain around the opening my vagina and it’s uncomfortable. My discharge is brown but my period ended that same day so I’m thinking it’s just spotting which usually happens when my period is ending. Besides those two things everything else is normal. Have any of you guys experienced this as well?? I need help