And how to avoid them.