A fire has broken out in a building and firefighters are working to extinguish the flames.