Hi..
Welcome to healthcare magic.
As per your complain you have problem of groin pain while bowel movement that may be because of
constipation problem.
For constipation problem you can use stool softner or bulk forming agent like
psyllium is helpful.
Take a high fiber foods like whole grains,oats, beetgreen ...etc
Fruits like kiwi and peach helpful in digestion.
Drink more water per day..
Avoid gaseous foods like cabbage, cauliflower carbonated drinks, broccoli, turnips...etc
Lemon water helpful for quike relife.
Consult a gastroenterologist for further diagnosis and treatment plan.
Detail history and investigation give exact idea about problems.
Treat underling cause.
I hope this will help you
Thank you.