Don’t pay until it is done to your satisfaction. If you paid, learn a hard lesson for the next time. Never, ever, pay for the whole job until it is satisfactorily done. If anything, make progress payments for less than is done, holding back enough just in case.
I was a contractor for 21 years and I never got money until the job was done. I did what I promised to do, demanded high quality work, kept the job site clean and treated the customer’s property with respect. I never had a customer keep a cent of my money.