Where did last names come from?

I mean, at what point did people decide to have last names as well as first names? Did people just make up their last names? I was wondering this today, so does anyone know? Also, is it possible to figure out where your own last name came from? Any info at all, or websites would be great, thanks!
11 answers 11