Objective: How do you release pressure from a pressure sealed container that is clogged?

Which of the following solutions is more sound in terms of naive physics reasoning?
Use a needle to poke a small hole in the top and let the air escape.