Exercise more.
I get them in the middle of the night...
I know that richard cramps exist, its when you overjackulate. I never had one and dont plan on it.