Turn it off and blow the spider webs out of the pilot vent and burner vent.