It is common to have pain in the abdomen due to excessive coughing.
As you are due for your menses,it may be due to dysmenorrhoea.
Please take Antispasmodic like Dicyclomine
apart from Antibiotic like Clarithromycin
,Anti inflammatory drug and Anti histamine
If the pain is continuing,Consult your surgeon and get an Ultrsound abdomen.
Wish you good health