How does the body react to prevent us from overheating?

You sweat. For one.....but keep in mind don't leave it up to your body.....drink fluids and rest. Overheating is not good for you....