Before investing, you should take into account debts, taxes, and other circumstances such as when you’ll need the money before investing.