Thanks for writing to us.
The pain in the groin can be due to the bowel infection you are having or due to a muscle spasm related to dehydration
. You need to have electrolyte rich fluids and mild pain killers and see if it helps.
I hope this information has been both informative and helpful for you.
Dr. Praveen Tayal