Technology has progressed quite a lot from popup blockers.
Examine your own actions. If you find yourself visiting one particular website often, then add it to your hosts file as a blocked IP address. You will never be able to go to that site again without editing it out of the blocked list. You can also try standard porn blockers. Or perhaps getting a premade hosts file which contains a list of porn sites to block.
Most importantly though, just stop doing it.
*~Let the Fire Fall ~* A Christian Guild