fejjel megy a falnak

Etymology
From

Verb

 * 1)  to act rashly, unthinkingly, thoughtlessly at one's own expense

Conjugation

 * For the verb, see.
 * The rest of the idiom remains unchanged.