Watch the spray before you step in. If most streams fall normally but one shoots toward the curtain, remember which side it comes from. With the water off, look for a chalky rim around the little openings on that side.

Look around the openings on the side where the stream changes direction.
Photo: Dirty Old Shower Head (54000230920).jpg · Tony Webster · CC BY 2.0. Web-size copy.
If the spray face is safely within reach, check the care instructions for your model. Some showerheads have flexible nozzles the maker says you can rub with a fingertip to loosen deposits. Leave fixed holes and any out-of-reach fixture for maintenance. A tub edge makes a poor step stool.
If the pattern still strikes the wall outside the tub, or if water leaks where the head joins the pipe, report which part is wet. Try “The left-hand jets spray across the curtain, but the pipe joint stays dry. Can someone check the spray face?”
Reader reference: Kohler · Caring for showerhead spray holes