Fetching details from the dictionary...

head; noggin
Note: slang; rough speech
「頭」 has other readings with different meanings.
どたまをぶつけてしまった。
I bumped my head.
そのどたまを少しは使って考えろ。
Use that head of yours and think a little.
壁の角にどたまをぶつけて大きなたんこぶができた。
I hit my head on the corner of a wall and got a big bump.