Cut a pork shoulder into 2-3 pieces. Spray bottom of Instant Pot bowl with cooking spray. Add pork pieces, salt, and pepper. Add white onion and garlic then add water to bowl.
When timer goes off, open valve to quick release steam. Once steam is done releasing, open lid.
Transfer meat to a bowl to shred. Refrigerate for later or add to dish immediately to eat.