What is this about? How does it deal with Sexuality or relationships?

Yes I have had regrets and things I have been ashamed of. I have a lifetime of regrets.

If it involves other people you ask for forgiveness and make sure it does not happen again. If it involves consequences, you face them and deal with it.

Then you move on.