ANSWER:
He must block the means that provoke him to sin and surround himself with practicing Muslims that would check up on him often. He must repent to Allah for the sins while showing deep remorse and sincerity and should keep himself busy with the remembrance of Allah while filling up offering a lot of good deeds as good deeds erase bad ones.