Every apartment should have a smoke detector, whether it is part of an alarm system or a stand alone battery powered unit. Battery powered smoke detectors should be inspected and tested to make sure they are in functioning order. Be sure to place detectors on the ceiling near bedroom areas. This way, if the fire starts while you are asleep, detectors will wake you up.
If your building has a fire alarm system, learn to recognize the sound of the alarm. Know where the alarms are located in your building and how to operate them in an emergency.