A dream with a gun can imply you are experiencing feelings of aggression or are looking for power in some part of your life. It can also suggest that you are under pressure or feeling threatened in some part of your life.

To use a gun implies that you feel the need for control or have feelings of revenge or other destructive emotions.

If you are shot in the dream then it can suggest you are feeling threatened  or experiencing conflict or aggression.