I’ve never studied medicine but there can be lots of reasons. It is possible you are over exercising if you are getting dizzy: probably the most likely reasons are overheating, not enough oxygen getting to your brain, low salt and dehydration.
It is important to replace both water and salt during exercise because you lose both through sweat!
Comments