Why does the heater for my pool keep going out?

Its about 12 years old. My dad says it will turn on after he shakes it a bit and then like a half hour later it turns off. Can anybody help because were trying to get it heated for s birthday party.

Report as