Here are the products which I choose after the expert suggestion of my doctor for side and neck pain.I also researched from the heath websites.The above products which I and david rubin already mentioned failed by my doctor and experts.
For side sleeper:
Coop Home Goods Cool+ Cut-Out Adjustable Pillow
https://www.amazon.com/Coop-Home-Goods-Pillow-Queen/dp/B0BQRFVY4Z/?th=1
DreamyBlue Signature Pillow w/Adjustable Loft
https://www.amazon.com/DreamyBlue-Premium-Pillow-Sleeping-CertiPUR-US/dp/B09ZKFK4JD/?th=1
For neck pain:
Kanuda Primo Air – Balanced Orthopedic Cervical Neck Pillow
https://www.amazon.com/Kanuda-Primo-Air-Pillow-Ventilation/dp/B0C98NWJC4?th=1
Ultra Pain Relief Cooling Pillow for Neck Support
https://www.amazon.com/Adjustable-Cervical-Sleeping-Ergonomic-Orthopedic/dp/B0C1GP88C4/?th=1