I have had chronic abdominal pain for about 5 years now. I you have a temp above 100 call your doctor. But with the way you describe the pain just stopping and then moving, it reminds me of a few of the times where I have spent time and money on ultrasounds and CTs checking for appendicitis only to be told to take a bunch of laxatives and call if I dont have a bowel movement with in 2 days.
Gas can be excrutiating. I know it sounds stupid, but it really hurts bad. There is not much to do for it except heat on your belly and walking. Gas-X does not work that far into your system, you can try it though. The more you move the faster it moves through the intestines. If you are constipated, laxatives can help also. There are drawbacks though. If you want fast relief you will want a suppository, Or for over night relief you can use a pill. You will find lots of different ones at the pharmacy.
Really the most important thing is fever. If you have one call your doctor right away. Also if the pain does not get better with in a day or two call then also.
I have been diagnosed with IBS (irritable bowel syndrome) which can be very painful. All the nerves in my gut are on hyper drive and every movement hurts. Sometime it is worse than other times, but I feel everything any how.