If a boiler pilot light goes off, it might be possible to relight it following the manufacturer’s instructions.
This is a common problem, particularly with older boiler models.
If you struggle to relight the pilot light, get in touch with a Gas Safe engineer for help.