help!

Kacey
so a few days ago i had ended my period. the last tampon i had in, it was in for a few hours, no longer than 8. after taking it out my vagina was very sore kinda like it was in wrong and hanging half out (it wasn't though). it was sore for the rest of the night and the next day i felt nothing. today i had sex, sort of. in the middle of it i was in a lot of pain and i couldn't go on. i went to the bathroom to check things out and there was blood and my labia minora was swollen. the blood i'm assuming was left over period blood because i've been spotting ever since my period ended. anyway, after checking things out i got an ice pack and held it down there for a while. i just checked again and the swelling has gone down a lot but i'm still kinda sore and it itches. i have a yellowish discharge aswell (not much). i've had a swollen labia minora before from lack of lubrication during intercourse but something just feels off this time..