what to do before investing