How to reduce pain in neck

If there is a pain in left side of the neck, it is possible to reduce this pain by lying on the right side of the head so, that the neck is curved, by doing so the pain will become less painful