Hiring professionals

What can you do if someone doesn't do their job properly? If, for example, you hire painters and they do a bad job, can you force them to do a better job or do you have to cut your losses and replace them?

Now, what if there was a strict deadline and the job is completed on time but in an unsatisfactory manner? What recourse do you have?

There is always withholding payment. There is the opportunity for poor reviews.

But none of those will get the job done properly.

Your expected job is a failure and what can you do about it?