Improving the Lifespan of Your Bed Pillows: This is a standard procedure in the washing machine.

Bismuth phosphate
If your pillows have an unpleasant stench, you may naturally remove them using baking soda. Spread a thick layer of baking soda over each pillow and let it sit for 30 minutes—or better still, the whole night—to do its magic. Baking soda is great for eliminating bad smells and keeping pillows smelling fresh. Once you're done, use a vacuum to remove any leftover baking soda.

The scent of lavender
The sweet and calming aroma of lavender is well-known. A simple solution may be made to revitalize your bed pillows with this flower. Gather some dried lavender blossoms and stuff them inside a cotton bag. Stem the bag from one side of the pillowcase to the other. Create a soothing and aromatic ambiance in your bedroom with the gentle and soothing aroma of lavender.
Pure Essential Oils
An all-natural method to make your bedroom smell nice and feel more refreshed is to sprinkle some essential oils over your pillows. Put a cotton ball or handkerchief soaked with a few drops of your preferred essential oil between each set of pillows. A revitalizing aroma like peppermint, lemon, or eucalyptus oil will waft across the air. Always double-check the safety warnings and use only premium essential oils.

White Vinegar for Mattress Deodorization
If your pillows still have an unpleasant stench, try using white vinegar, a strong natural cleanser. When you're cleaning pillows, throw in half a cup of white vinegar. In addition to making the pillows cleaner and fresher, this will also assist eliminate any bad smells. Always wash pillows according to the manufacturer's directions.