I have just been to a photography shop to buy some UV filters and I asked him about this problem. He said the way to get photos like this:

and not this

is to use smaller f/2 or f/5.6 with a longer lens. I have been using my 18-55mm for these past few weeks and its not been really useful. I'll use my tripod from now on as well

Thanks for everything