Remove and replace the existing gas valve and clean the thermopile. After making the repairs I also noticed the thermostat was malfunctioning. I was able to fix it for now but would recommend replacing it before it fails.