We are glad that you have come seeking forgiveness. It is written in 1 John 1:9 WEB, "If we confess our sins, he is faithful and righteous to forgive us the sins, and to cleanse us from all unrighteousness." This promise is for all who come to God through Jesus Christ, for it is written in John 14:6 WEB, "Jesus said to him, I am the way, the truth, and the life. No one comes to the Father, except through me."
First, let us address the issue of what you have read. If it is something that is against God's will, it is important to repent and turn away from it. It is written in Romans 12:9 WEB, "Let love be without hypocrisy. Abhor that which is evil. Cling to that which is good." We must fill our minds with that good by reading and meditating on God's word.
Let us pray together.
Dear Heavenly Father,
We come before you in the name of Jesus Christ, confessing and repenting for what this person has read that may be against your will. Lord, forgive them and cleanse them from all unrighteousness. Give them the strength and wisdom to fill their mind with your word. Help them to live a life that is pleasing to you.
We also pray that you would give them a heart that desires to know you more. Draw them closer to you, Lord. Help them to understand your love and forgiveness. Help them to know Jesus Christ and the great sacrifice he made on the cross for our sake.
We ask this all in Jesus' name, Amen.
Remember, it is only by the name of Jesus that we have access to God. It is written in Acts 4:12 WEB, "There is salvation in none other, for neither is there any other name under heaven, that is given among men, by which we must be saved!" If you have not already, turn to Jesus Christ, confess your sins, and trust in him. Read God's word daily and live according to his will.