Anything can happen while planning your wedding—the venue closes for repairs, your cake doesn’t show up, and a hurricane storms in to rain on your matrimonial parade. Even the most beautiful weddings encounter hiccups, either while planning or on the big day.

Here’s how to handle these five dreaded wedding disasters if they happen to you.

You’re out of a venue
It’s any bride’s nightmare: You signed the dotted line and handed over a hefty deposit, and then, the venue closes unexpectedly for repairs or caused by a fire incident, leaving many couples scrambling for a new venue.

Whether a flood ravaged your dream venue, or the event center went out of business because of some under-the-table dealings, you’re now out of luck. Avoid this disaster by considering purchasing wedding or special events insurance which will cover any monetary losses should you lose your venue and your deposit. Most reputable venues will refund your deposit in most cases and work with you to arrange an alternative venue.

The weather is deplorable
If your nuptials are outdoors, always create a backup plan. Whether it’s an unexpected soggy, rainy day or a hurricane blows into your beachside wedding, have a substitute indoor setting. Find out if your venue has a designated area you and your wedding guests can go should the weather turn sour. If you’re stuck with no roof over your head, grab an umbrella and ask coordinating vendors if they know of a place to host your wedding in a pinch. They may be able to call in a favor from a local restaurant or venue and save your wedding.

The cake doesn’t show up
A friend of a friend promised the buttercream cake everyone will be salivating over, but for whatever reason, the sweet treat is a no show on your big day. Again, turn to other vendors for recommendations for bakeries who may be able to quickly provide a wedding-worthy dessert in place of the cake. Worst case scenario: ask a friend or family member to make a special trip to the nearest bakery or supermarket for an assortment of playful sweets, like colorful frosted cookies covered in sprinkles, pies, tiny cheesecakes, and cupcakes for a dessert buffet guests will love.

You’re sick
Not feeling well? Don’t worry and asked a friend run to the drugstore for medicine to subside symptoms, hot tea and honey, and lots of water containing electrolyte. Delegate tasks, so that you or your groom can rest up just enough. Have someone in the wedding party oversee administering medicine in a timely fashion, so your symptoms don’t worsen over the course of the evening.

Your bridal dress shop shutters
Should your bridal shop close without any notice and no chance of picking up your dress, call your credit card company immediately to cancel the fee. Unfortunately, if you paid by cash or check, you may be on the hook to wait for finalized bankruptcy proceedings to have even the slightest chance of getting your money back. If you’re looking for the same dress, check online from a secondhand seller or directly contact another vendor for help finding a gown.

If you’re given notice from the dress vendor, be sure to get every guarantee in writing and pick up your dress as soon as possible. Ask for references so that your dress is processed and finished it quickly.

Take a breath
Remember, at the end of the day, it’s not about having the “perfect” wedding, because the chance of absolutely nothing happening is like seeing a glittering rainbow unicorn pull a chariot over the moon. It’s not real. Every wedding will face a bump in the road. Stay calm and composed, without allowing any hiccup, small or disastrous, get in the way of your celebration of love.