4-prong dryer plug, 3-prong outlet?

What the best option here?
Replace the dryer cord, replace the wall outlet, or buy some kind of adapter?
I'm more concerned about safety, than cost or difficulty.
Thanks.
0