Hello! Thanks for putting your query in HCM. I am a Gastroenterologist (DM).
You haven't mentioned where you are feeling pain. If this is present in abdomen especially lower part then it may be due to menses. And if the pain is in annum especially while defecation then it is due to anal fissure
1. Make your stool soft by taking a laxative like syrup cremaffin
plus and lots of fibres by taking fruits and vegetables and may also add psyllium
fibres like fibril
2. Local ointment containing diltizem for application per anum before and after defecation. And this is to be applied at the outer surface of the anal verge with finger
3. Sitz bath
I hope I have answered your query and this will help you. If you have any further query I will be happy to answer that too. Remain in touch and get-well soon