Guns are associated with power, aggression and, in some cases, masculine energy and sexuality.
If the gun is a weapon you carry in the dream, it may be a symbol of your personal power but if someone is threatening you with a gun, it may suggest their power over you.
If you are having trouble finding or using a gun in your dream, this may represent your indecision and confusion. Knives represent emotional experiences that are hurtful
[1]