Why does the side of my hips hurt from time to time ?

It’s only the sides of my hips and I have been getting my period normally ever since the last time I had sex on December 8th. My stomach right above my vagina has been a little bit swollen since I lost my virginity on December 8th. It was for about 5 strokes and he didn’t cum