I usually spray the can upside down into a garbage can for a second or 2 when I’m done using it. That usually clears the nozzles on most aerosol cans. Some are designed to spray from any angle including upside down so that won’t work every time.
Losing fingers since 1969