how to manage emotions in investing