How do you get out of a mine?

Use the ladders or if your playing a game online, teleport your way out. Otherwise, in real life, you can call for help on a cellphone/ use a pickaxe and mine your way out.