do the trick
• achieve the required result.
• "a coat of paint might have done the trick, making things that bit more cheery"
Similar:
be effective,
work,
solve the problem,
take care of the problem,
achieve the desired result,
fill/fit the bill,
turn the trick,
do the necessary,