as some other people said here, use less internet. Internet is a very quick access to p*rn and you get used to it easily.
Another good idea is to start doing stuff keeping you away. Sports, workout, walk, hangout with friends, any hobby.. anything. Keep your day as busy as possible.