That would happen to me to if the water was to hot and there was to much steam built up in the bathroom, it's like heat exhaustion and dehydration. Keep water near by and put a stool in the shower so you can sitdown
Sounds like high blood pressure. Be careful in the shower. Make sure the water isn't too hot.
Maybe your water is too hot, I notice that happens to me if I have the water too hot.