An electric heater has no flame to read, so the symptoms carry the diagnosis. Two of them split the job almost in half.
Nothing hot anywhere
Start at the panel: a tripped breaker, a fuse, or a heater on a circuit that was switched off for another reason. If the supply is live and the reset on the upper thermostat has popped, it popped for a cause — usually a failed element or a thermostat stuck on — and resetting it without finding that cause means it pops again.
Plenty for a minute, then cold
Water at the top of the tank is heated by the upper element; the lower one does the bulk. When the upper works and the lower does not, the tap runs hot and then falls away quickly. That pattern is worth describing exactly on the phone, because it points past the supply straight at the lower circuit.
Scale sits on the element
The city's mineral content leaves deposits on the element sheath. A scaled element works harder for less heat, rumbles as it boils against the crust, and eventually splits. An element that has failed is replaced; the tank is drained and cleared at the same time, or the new one starts collecting the same layer.
Thermostats and the wrong temperature
Water hotter than the setting, or lukewarm against a setting that should be higher, is thermostat behaviour rather than element failure. Both are serviceable parts.
On the electrical side
The heater has its own circuit and its own disconnect. Anything past the panel belongs to a licensed electrician, and the repair is quoted as electrical work, not as plumbing.