Hello! My name is Dr. Aida and I am glad to attend you on Healthcaremagic! Your symptoms could be related to irritable bowel syndrome. The fainting may be a normal autonomic reaction to the pain and abdominal distention. For this reason, I would recommend performing an abdominal ultrasound and a GI endoscopy, just to be sure that everything is OK. A healthy diet (avoid spicy food, eat more fibers and avoid red meat) is necessary. Hope to have been helpful! Best wishes!