New Spray Paint Cans That Stop Spraying After The First Squirt?

Sometimes they are just bad, others... well, i was taught to shake the cans 1st... a lot...then when I was done with the can, I was to turn it upside down and hit the button to clear the paint from the tip....so that it would work next time , aka not be clogged.