Getting a users Profile picture

Thanks man, so exactly how would I apply that.

Im having a little trouble I think I have taken bits and pieces of different guides and completely confused myself with how it works.

Sorry again.