It is best not to take a shower when there is thunder.
Try to avoid bathing during a storm. After all, water is conductive and there is a certain risk if the house does not have a lightning rod, you need to be more careful. and try not to bathe during a thunderstorm.
If you use a solar water heater and do not take comprehensive lightning protection measures, you are more likely to win. Lightning strikes the water heater and travels along the water pipes to the house.