According to the official
rules, "you get out of Jail by...
throwing doubles on any of your next three turns; if you
succeed in doing this you immediately move forward the number of spaces shown by your
doubles throw; even though you had thrown doubles, you do not take another
turn;
using the "Get Out of Jail Free" card if you have it;
purchasing the "Get
Out of Jail Free" card from another player and playing it;
paying a fine of $50
before you roll the dice on either of your next two turns."