The proper way to position a pillow for knee pain relief is to place it between the knees while lying on the side. The pillow should be positioned so that it is snugly placed between the knees and the ankles. This will help in reducing the pressure on the knees and aligning the spine.