Upper pain

I had this pain almost on and off all this week but today it stayed for 6+ hour. I'm still in pain. It's in my upper belly(upper abdominal) I'm currently on day 5 of my period. Slight spotting and this pain. I try rice as heat pack and stretches. Now im laying in warm water.

My thought were of the bra but since I reach home, I took that off. I also thought it was how I was sitting but many time I sit normal lol