All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Whoever watches forbidden things such as obscene images and other content is sinful, but it does not invalidate his purity as long as he does not emit Madhiy or the like.
We advise the dear questioner to occupy himself with acts of obedience and good deeds, as well as not to follow in the footsteps of Satan. Allah The Almighty says: {O you who have believed, do not follow the footsteps of Satan. And whoever follows the footsteps of Satan - indeed, he enjoins immorality and wrongdoing. And if not for the favor of Allah upon you and His mercy, not one of you would have been pure, ever, but Allah purifies whom He wills, and Allah is Hearing and Knowing.} [Quran24:21].
Allah knows best.