Depending on the situation, you can cancel a home improvement contract, but how you do so varies. You should include how to cancel the agreement in your written agreement, including any permissible reasons and any penalties for cancellation.
You should seek to negotiate a cancellation rather than doing so unilaterally. To protect your legal rights, you may wish to consult legal counsel before terminating a contract.