There can be multiple reasons- muscle spasm caused by overuse/ improper posture, biceps tendinitis, biceps tendon tear, rotator cuff tendinitis/tear being very common.
Next Steps
Need detailed discussion about your condition to pinpoint the exact cause.
Can Do a video consult with me for better understanding about the issue.