the icon for flash will not light up when I press it and the flash does not work
I suggest that you install a flashlight app to check if the flash is properly working. Visit Google Play store and download one.