Just make sure that your agreement is well written.
Be sure to put quality requirements in clear writing.
Also, the schedule. Missing the schedule will need to impose a charge (reduce the payment).
Do not pay upfront. If you have to, pay the minimum.
Check reference.