Avoid headaches by solving problems before they spoil your whole day.