sich den kopf (an der decke etc.) anschlagen

listen to the pronunciation of sich den kopf (an der decke etc.) anschlagen
Немецкий Язык - Английский Язык
to hit your head
to bonk your head (on the ceiling etc.)