get/take it into your head that...

get/take it into your ˈhead that...

(informal) think or believe something, often wrongly: Somehow she’s taken it into her head that her husband is trying to poison her.
See also: get, head, take