You roll a d20 Any time your character tries to do something which the DM decides provides a potential for both results and failure. The higher your roll, the more very likely it is you be successful.
The d12 is https://neilkgci416184.activablog.com/31679434/top-guidelines-of-6d6