do the trick
US /duː ðə trɪk/
UK /duː ðə trɪk/

1.
resolver, dar certo, ser eficaz
to achieve the desired result; to be effective
:
•
A strong cup of coffee should do the trick to wake me up.
Uma xícara forte de café deve resolver para me acordar.
•
If you need to fix that loose screw, a bit of super glue might do the trick.
Se você precisar consertar aquele parafuso solto, um pouco de supercola pode resolver.