Smart homeowners insure themselves against such situation by investing in a home warranty coverage. This is an optional cover that will come to your aid when major appliances or systems in your home need repairs or replacements. It is different from the mandatory home insurance that covers the entire house from disasters.
If you are considering getting a warranty for your home, it basically means you are confident enough about all the equipment and appliances you have invested in and wish to have a peace of mind knowing that a third party will have your back when the inevitable happens.