Please help me with correct sentence construction.  
And What is the exact meaning of below sentence if Sentence construciton is currect.

* Why are you talking like mad? Have you ever fallen on your head or what?  
* Why are you talking like mad? Are you fallen on your head or what?
* Why are you talking like mad? Did you ever fell on your head or what?