In that case the gas valve is most likely bad, about an 80% chance of that.
If you want a further diagnosis to insure that the gas valve is indeed bad
Please attach a well focused, close up photo of the wiring diagram glued inside the service panel, the picture needs to be taken from straight on, in very good light.
You can use the paper clip- icon at the right end of the tool bar at the top of this dialog box to attach it here.
If you have an error code showing, tell me what the code read out is on the wiring diagram or a sticker next to the diagram please.
If there is no paper clip-icon, look for the '+attach files'link at left of your send button.
I can mark it up with trouble shooting instructions.
You will need a multi meter ($30 at a hardware store) and some experience working with appliances, let me know a lot about your skill sets in those regards.
We can go from there.