Investing in real estate can be incredibly rewarding—if done right. But if you make the wrong moves? You could lose thousands.