It depends on the contract. In most contracts someone is providing a service or goods and the other party is providing some form of compensation.
If the party providing service or goods does not follow through then the other party may be entitled to get back the compansation they have given and other expenses caused by the breach.
If the party providing compensation is in breach then the party providing service or goods maybe entitled to have the compensation ordered by a court or to lien property.