Hi.
Thanks for your query.
Noted the history sudden pain in abdomen and need to pass the bowel movement , visited the bathroom but could not pass the motion and the pain increased so much that you had to curl up sweating and nauseated.
All your history is suggestive of a disease that needs immediate medical attention, investigations and proper treatment, surgery if needed.
The probable causes of such a pain are as follows:
Perforation of a intestine or
stomach ulcer.
Rupture of some
cyst or so.
I would advise you the following:
Rush to ER / call the emergency services or ambulance and get shifted to the ward for
resuscitation of the general condition.
Investigations:
X-ray of the abdomen in standing position to see for gases under diaphragm.
Ultrasonography and the relevant blood, urine and stool tests.
If there is perforation or such a surgical emergency, you need to get operated urgently.
If there is a medical reason, get the proper resuscitation and further medical treatment and get a cure.