Nerve entrapment occurs when a peripheral nerve is compressed or constricted, leading to pain, tingling, numbness, or weakness in the affected area. It is often caused by repetitive motion, injury, or anatomical abnormalities, and treatment typically involves physical therapy, medication, or surgical intervention to relieve pressure on the nerve.