To hex someone is to unduly influence a person or result. Usually this has negative connotations so to dream of having a hex put on us will signify an instinctive dislike of someone, which may or may not be reciprocated.

If we are performing such an action in dreams we probably need to take a long hard look at our motivation.