The thermocouple pile has gone bad. That is the part the flame burns against when it is lit. They are relatively easy to replace and inexpensive. Take your furnace make, model, and serial # to the hardware store. They should have a replacement. Or pay for a service call.