There are three things the WH needs to work on electricity.
120VAC, continuity thru the temp sensor pack and a good heating element.
Open the WH outside door. Down near the bottom left you will see a small switch. Turn it on. Next, above the switch is a square rubber cover, about 4 inches square. There you will see a couple of what look like buttons. The LH side one is the reset for 12VDC. The RH side one is 120VAC reset. Push it in. Before you try this, be sure you have water flow. Wait 20 minutes and see if you have warm water. No hot water? Then you need to check the heating element, it is quite possible you have burned it out one time or another because you connected to shore power with no water in the tank. It only takes one time and no more than a minute to kill the electric element.