The best thing you can do is to leave the canister securely on the gun. If you do not leave the can on the gun, clean the valve and the gun with Gun & Foam cleaner. When leaving the can on the gun, it is important to empty the can before unscrewing it from the gun to prevent accidents with the foam.