basically speaking, "erkek" is used more when you specifically want to indicate the gender/sex of the person.
erkek x kadın (man x woman)
"adam" has a more common usage. When you want to talk about a male person doing something, you would use "adam", in the manner of a sentence like : "the guy" has/is etc...