Hello dear I would suggest you to get an ultrasound
done for abdomen and pelvis both. It might not be related to periods only. At the same time I would like to ask you if your periods were well in time or delayed? In case delayed then do a urine pregnancy
test. Visit a gynecologist in ER in case pain is not relieved in next 12 hours. Wish you all the best.