To dream of a hand gun represents a decisions or control that's self-protective. Not being interested in losing or changing something. Being protective of your choices or decisions.
To dream of having a hand gun held on you by a criminal or evil person represents a negative aspect of yourself that doesn't want to change. A part of you that may not feel that certain positive changes are important or beneficial.