Gas works fine no electric heat
Shut off hydro/breaker (110VAC) to water heater element. Remove nuts on cover at back side of tank, where you see hydro cable entering. Carefully pull metal, or plastic cover off to expose wiring, element, thermostat,ECO,etc. Double check , no hydro power present with Multimeter, or circuit tester. When your 100% sure no hydro (110VAC) to it, take a close look at all the connectors on little rounds discs, (thermostat and ECO) and make sure they are on good, and making good connections. Once that's checked, and making sure no bare wires are touching studs for cover, or any wires are touching each other, Turn 110VAC breaker back on and Very carefully attach or touch your ground on multimeter or tester to copper wire for hydro, and your positive to screw at element that has the black (hot) wire attached to it. You should read 110-120VAC. If yes, shut off hydro again, and replace element. If no, leave ground where it is, and carefully test voltage at each terminal of the thermostat, and ECO discs. You Should get 110-120VAC at each, if not, the one with voltage in, but not out is defective, and should be replaced, after shutting power off obviously. This is assuming yours doesn't have a thermostat, with a push-in type reset that may have tripped, so look for that as well. Also, some thermostats, or ECO's will have a small pin in the center between the 2 spade connectors that is a reset as well, so if you have those type, push in on those to check for reset as well. When/if you do have that style, shut power off, while resetting to avoid chance of shock. Keep me posted please.