Three things could also be making you over-heat. Foam pillows hold in heat. I think it’s because the thickness doesn’t allow air to circulate well, if this is the case, then change your pillow to something lighter and smaller and not filled with foam, and if you have long hair and especially thick, pull it up and away from your head and neck but don’t tie it.
And the 3rd thing is the fabric of your pillow cover can also trap heat. 100 percent cotton is best. I have several pillow cases I can’t use because the also make me hot and don’t cool off easy. Get a thin cotton sheet. Oh, I also forgot. If you have some sort of any allergy cover under your pillow case, they also hold the heat in and don’t allow the pillow to cool.