You roll a d20 Anytime your character attempts to do something which the DM decides contains a probability of both of those good results and failure. The higher your roll, the greater likely it is you succeed.
though https://gerardrcju204399.elbloglibre.com/30968569/6d6-things-to-know-before-you-buy