I'm going to assume you are talking about the pilot light not lighting. The gas valve causing this is almost unheard of considering it is a manual valve you hold open and light. Take it apart and check the pilot tube for an obstruction. I'm making a lot of assumptions here, but you didn't give any specifics.

