Turn off the power supply to your home furnace.
Remove any screws on the front panel of the furnace and remove the front panel. Notice the metal rod-shaped flame sensor mounted next to the pilot light.
Check the wiring at the base of the sensor to ensure it is properly plugged in and isn't loose. If it is, unplug, then plug it back in.
Check the metal rod of the flame sensor. One common issue that comes up with flame sensors is that they don't function because they are dirty. Check the rod for soot and dirt that is caked on the rod.
Clean the rod of dirt and grime with a steel wool pad.
Replace the front panel of the furnace.