Should I wash my new pillow before using it?

I bought a pillow from amazon and it came today. I’m wondering...should I wash it before I use it? Or would it be fine to use it right away?