What am I?

I lose my head in the morning and regain it back at night. What am I?