Take the shower head off.
Put the hose in a bucket.
Turn on for a minute .
This test will give several answers is the hose or head blocked.
Is there flow, fast/slow/warm/cold
If it still cuts out a new one is often cheaper than the parts and fitting.