1) understand that you don't really enjoy pornography, you're just addicted to it. When you enjoy something, (say, lobster) you like it, but you can go an extended period without it. There's no irrational craving there. internalize that porn is a drug addiction.
2) make sure you enjoy life without porn. Every second you're having fun, socializing, and bettering yourself is a reminder that you never needed porn
3) don't use negative reinforcement. that only causes stress, and stress makes you want to look at porn.
Of course there's a lot more to it, this board can offer great advice and you'll learn a lot doing it by yourself.