How to invest effectively by being contrarian