In a situation with a gun from the side, first move, always redirect the line of fire out of you. Then take control of the weapon by pushing it toward him.