What is causing cramps in back and sides?

Many possibilities. Dehydration is most common. If this is not helping, consider electrolyte abnormalities, muscle fatigue or even kidney stones. See your physician if persisting or getting worse.