It will be better to have a check up with gynecologist /surgeon .
The pain is not related to your period . There may be some other reason like pelvic inflammation .
to be excluded .A CLINICAL CHECK UP AND INTERNAL EXAMINATION WILL HELP REACHING A DIAGNOSIS .AN U S G WILL BE HELP FUL IF REQUIRED .
For the pain you may take dicyclomin tab. Get a check up and be all right with treatment .