If you come across a burst pipe, it's essential to act quickly. Start by turning off the water at the main valve and shutting off any electricity in the affected area to prevent electrical shock. Then, get in touch with a plumber right away.