Dig up the area around the suspected break, clearing away at least 8 inches of dirt from around the broken pipe. If you don't know where the break is, run the sprinklers for two minutes. Water will pool above the area of the leak; be prepared for a muddy mess as you work.
Wipe away dirt or mud from around the broken pipe, getting the surface as clean as possible.
Place a pipe clamp around the area of the break, making sure the rubber gasket inside the clamp sits on the crack or break.
Tighten the screws on both ends of the pipe clamp. This will cause the gasket to press against the crack, sealing it and making it watertight.
Run the sprinklers to test the repair before refilling the hole with dirt.
Dig up the area around the broken sprinkler, clearing away at least 8 inches of dirt from around it.
Unscrew the sprinkler body by turning it counterclockwise.
Wrap the exposed pope threads on the riser below the sprinkler with a single layer of Teflon tape to lubricate the connection.
Place a new sprinkler on the risers and turn it clockwise until tight.
Run the sprinklers to test the connection before refilling the hole with dirt.