If your electric water heater is producing a small amount of hot water, the bottom element probably needs to be replaced. If the tank is producing no hot water, the top element is the likely culprit.
If you're wondering whether it may be time to replace your water heater, you've likely already had it a while. Before it begins to break down and cost you money in repairs, get out that warranty or ...