Can I put a bed pillow in the washing machine??

Sm

Might sound like a weird question but I’ve no idea!!

I usually only wash the covers but the actual pillow doesn’t quite look or smell fresh anymore. I have had it for at least a year so might just be time for a new pillow?

How often do you replace your bed pillows or if you wash them, what are the safest settings to use? Can you also dry them??

TY