Three keys to a positive attitude.