First you need to determine if it's just being tight and sore or if they are legit cramps.
If it's cramping I'd make sure I'm staying properly hydrated.
If you just feel tight or sore, get a foam roller, do some mobility work, and see if things improve.