If you have the luxury of taking as long as you need to accomplish a task without being threatened or distracted, you can “take ten.” Doing so requires ten minutes longer than the ability check would normally take, but allows you to use your passive score for the ability check instead of rolling.
As a reminder, your passive score equals 10 + all modifiers that normally apply to the check, adding 5 for advantage and subtracting 5 for disadvantage. The GM says whether you can take ten on any individual check; for example, socially interacting with a creature might not always be applicable.