Someone hugging me accidentally bumped my head. Could I be at risk for brain bleeding? I did not lose consciousness; I have a pretty bad headache.

Head bump. Brain bleed or concussion is far down on the list of possibilities but please do see your doctor if you have a headache. He/she will diagnose and give you peace of mind. Sorry you got the bump but glad it was by hugging. Peace and good health.