Sit on a bench maintaining an upright posture
Wrap a ribbon/flat band around your head and hold the ends to the side of your head with one arm.
Extend the elbow slightly till you feel the opposite side of your neck resisting the band
Guida Esercizio Band Seated Cervical Side Flexion Hold | MuscleWiki