“Dick” is a crude way of saying penis. As is common in English when describing a person in negative way we add the suffix ___head (ex. butthead, shithead, fuckhead etc.)
Ex: That “dickhead” is always yelling at his girlfriend.
Ex: It is easy to be a nice guy. Just don’t be a “dickhead” to other people.