Broken sprinkler heads should be replaced quickly, as they waste water and are ineffective for irrigating your lawn.
You don’t need to call a plumber to fix it, thoughyou can do it yourself.
Give the PVC cement about 10 minutes to cure before running water through the system to test.
How to Replace a Broken Sprinkler Head| Charles & Hudson