If the contact lens is a semi soft contact lens then you should never massage the eye . This is to avoid abrasions in the eye.
If the lens is stuck in the white part of the eye, use your fingertips to press gently on the eye just outside the edge of the lens. This will break the suction that is keeping the lens in the eye. And you will be able to remove it.