On an electric water heater, there are two resets. First, the double-pole breaker in your panel labeled for the water heater: flip it fully off, then back on. Second, the red high-limit reset button behind the upper access panel on the tank, which you can press in once if it has popped. If either one trips again within a day, stop resetting it, because a part has actually failed and it needs a repair. On a gas unit there is no homeowner reset to work through. A pilot or burner that will not stay lit is a repair, not a reset, so
book a water heater repair rather than relighting it repeatedly.