We have become accustomed these days to washing almost anything in our washing machine, but for your new memory foam pillow, that won't be the case. You will either need to have it cleaned professionally or do the easy thing and wash it out by hand.
A lot of people may cringe when they hear that something has to be hand washed, but it's not so bad really. You can have your memory foam pillow washed and set out to dry in about ten minutes. First of all, use either your largest sink or even better, the bathtub. Fill it with lukewarm water and a little mild detergent.
Next, you simply soak the pillow in the water and massage it through several times. Drain the water out and refill so you can rinse the pillow thoroughly using the same massaging action. Don't twist or wring the pillow because it could cause misshaping, especially if it's solid memory foam. To dry the pillow you can either place it under a ceiling fan or if the weather is pretty, you can lay it out or hang it to dry outside.
You can look at information like what you will see at luxuryofthepharaohs and find out more about caring for memory foam pillows. When you spend a lot of money on your bedding, you want to know how to care for it properly so it will last you a very long time.