Welcome to HCM
After going through your history if this is only for few days you should see your doctor and get stool R&M to see if there is any infective or worms which can be easily treated.
There is no permanant remedy for such problems, you have to take care many issues.
If the problem persist and trouble some investigations of GIT like Upper GI and Lower GI endoscopy
You must also get ultrasonography
and visit to Gastroenterologist to rule out any significant abnormality.
If all other causes are not there possibility og Irritable Bowel Syndrome
will be there.
You should take care of potable water and diet avoid oily and spicy food.