i took photo with it ok but did not see a flash
Did you check in options to make sure the flash is enabled? Is it dark enough for the flash to go off? If it's broken need to get it repaired at a shop or get a new one. New one is probably cheaper.