Wait a minute, if he "accidentally" looked at porn that means he saw it for just two or three seconds, like when you accidentally open a restroom door and somebody is already on the toilet in there.
If his parents and praying were needed to help him get over it, my common sense tells me it was not accidental
"yeah dad, I keep accidentally pulling up this man on man website every night for the last couple of months and now I need Jehovah's help to stop" . . . give me a break, that means dad was looking too.