Your post doesn't say what you have tried (i.e. checking settings for auto flash or always on) and if it's only when taking photos.
How about a phone reset?... Also, have you downloaded an app which uses the flash as a torchlight and if it illuminates using that program?