Have a plan and practice it
If you encounter smoke, get down on your hands and knees and crawl to the nearest exit. Smoke rises, so cleaner air is near the floor.
Use the back of your hand to feel the door and doorknob. If hot, use your second way out. If cool, open slowly.
Closing doors slows the spread of fire and smoke, giving you more time to escape.
Once you're out, stay out! Never go back inside for pets, people, or possessions.
Content source: National Fire Protection Association