Once something happens, it's happened. You can't undo the moment. Accept what happened and who you were in that moment. Then choose to continue to love yourself and embrace who you are BECAUSE who you are right now has purpose, value, and is a part of God's plan.
Accept whatever happens and trust that it serves a purpose. There are no accidents with God! Everything happens for a reason.