I had sex and feel the urge to watch porn/masturbate has increased

I had been clean for 3 days and had sex yesterday. Since then it feels a lot harder not to watch porn or masturbate. I did notice that it was quite difficult to remain errected during sex but managed to pull through, but I don't want that to happen anymore.