To put a hex on means that you do something, such as cast a spell or use a voodoo doll, to curse someone to have bad luck.
(verb)An example of put a hex on is when you make a voodoo doll of the guy who dumped you and prick pins in the top of his head to make it so he will go bald.