Probably a loose connection at the shower, shower isolator or the consumer unit but it could also be caused by water getting into the shower unit or just a knackered heating element.
Turn off all the electric and confirm that the installation is dead, then remove the front of the shower and look for loose connections or signs of burning/overheating. If everything looks ok then check the shower isolator. If you still don't find a problem, and you consider yourself competent to do so, you can check for problems inside your consumer unit. Unless you have a main isolator switch before your consumer unit the meter tails entering the top of the main switch will ALWAYS BE LIVE! So be very careful when poking around in there. If you still don't see any obvious problem you really need an electrician to perform some tests for you.