Get him neutered! That's why he's spraying. In the vast majority of cats, the spraying will stop after neutering. While he's at the vet, have them check his urine and make sure there is not a complicating infection. But at this age, hormones are the most likely culprit for the urge to spray.
Cheers,
Dr. Jean
Cheers,
Dr. Jean