EverytIme I move my bowels I get a bad stomach ache after what could be causing that to happen?

Abdominal pain. It sounds like excessive intestinal cramping. Are you constipated? I would try increasing both the fiber in your diet such as vegetables or fiber supplements and increasing your fluid intake. You should be drinking 6-8 glasses of water daily.