How to invest in real estate correctly