I watched a porn video twice and I'm regretting on that. I'm also doubting my purity. What I can do for the repentance and to come out of this guilt?

Make an intention not to repeat the act and ask Allah for his forgiveness and His help