ANSWER:
He must repent to Allah while showing deep remorse and sincerity as masturbation is a forbidden act of transgression. He must block the things that provoke his desire to sin and surround himself with practicing Muslims who would check up on him often.