Critical hits in Dungeons and Dragons occur when you roll a natural 20 on a d20 die. They only happen on attack rolls. After you have rolled a natural 20, you get to double the dice you then roll for damage.