If there is a breach of contract, both parties can pursue legal action. It is important to include a dispute resolution clause in the contract to address such situations.