How to fix a gas fireplace?
Usually you have to turn the gas valve to pilot and hold an override button to get the gas to flow. If the pilot lights wait at least 30 seconds then turn the gas valve to on. If the pilot goes out it is usually a bad thermocouple (the little metal probe sticking up that the flame hits). If this component has failed the pilot won’t stay lit ever. They are fairly inexpensive and easy to change. They are clamped at the pilot the tube goes back to the gas valve and it unscrews. They start at about $10 and that might be the problem.