The rule I learned was:
You hung up your coat. They hanged the man.