ANSWER:
You must block the means that provoke your desire to do that particular sin. If it is watching haram, cover your tv and delete the app that allows you to watch such filth. You must surround yourself around practicing Muslims that would check on you every now and then and busy yourself with the remembrance of Allah. If your repentance was sincere, Allah will forgive you, in Sha Allah.
Kindly refer to the following link(s):