Most gas water heaters only require a pilot light reset.
Wait 5 minutes after turning off the pilot light.
Reduce the temperature and make sure the pilot dial is aligned with the pilot.
Hold down the button until it clicks.
Hold the ignition button down until the pilot ignites again.
You can let go of the pilot control when the light turns on.
Switch on the pilot light.
Return and set the temperature you want.