Nausea and stomach pain can be caused by low blood sugar or dehydration, so make sure to eat something with carbs and drink plenty of water before exercising. If they persist, stop exercising immediately.