It happens more often than you might think. Here's how to protect yourself.