Treat every member of your household with a two-dose pinworm medication. Give the second dose two weeks after the first.
Remove the pillows and all other bedding from any bed used by an infected person. Take the pillow cases off of the pillows.
Read the care tag on the pillow for specific cleaning instructions. If the tag says "Dry clean only," take it to a professional dry cleaner. Do not put the pillow in the washing machine; this will damage it. Do not wash silk or wool pillows in the washing machine. Some memory foam and feather pillows are also not machine-washable.
Put the pillows, pillow cases and other bedding into the washing machine.
Add 1 cup of laundry detergent to the machine. Run the washing machine on the heavy load cycle using the hottest water setting available.
Dry the pillows and other bedding in the dryer at the highest possible temperature.