You didn't give us much to go on. How old is the dryer? Newer dryers don't have a pilot light. They use spark ignition or a 'glowbar.' If these are not functioning right, it will not work. We need the make /model number, etc, without that it will be hard to trace the problem.