Aerosol paint question

Hold the paint upside down and spray so all the aerosol is out and then poke a small hole in it with a nail. It will still shoot out a little but won’t exploded so hold it over whatever your collecting your paint in and when pressure is all out you can make hole bigger to pour it out faster.