What causes cramps in your body?

When you eat or drink anything and go right to physical activity your body tightens up which is also called a cramp