Leave the house, do not use switches, lighters or phones inside, and call your gas utility or 911 from outside. Do not try to find the leak yourself. Do not turn burners on and off to test. A gas smell is an emergency, not a repair question.
If you smell gas only briefly when you light a burner and it clears at once, that is normal. A lingering smell, a hissing sound or a smell with no burner on is not. After the gas utility has cleared the home, a technician can inspect the appliance, but gas lines and valves are not a homeowner repair.