1. Honesty: First of all, you need to be honest with your mistakes, apologize to your partner, and express your regret and determination to correct it. Let your partner know that you realize that your actions have hurt your relationship and are willing to take responsibility.
2. Communication: Open and respectful communication with your partner is very important. Let your partner know your feelings and motives, listen to their thoughts and feelings, and seek solutions to problems.
3. Rebuilding trust: derailment is a serious injury, and it takes time and effort to rebuild trust. Show your changes and commitments, and prove that you have learned from your past mistakes and won't make them again.
4. Respect each other: Give your partner enough space and time to deal with their emotions and feelings. Respect their decision, don't be too demanding of their reaction, and don't force them to accept your apology or redemption.
5. Establish boundaries: Make sure that the boundaries between you and your partner are clear and will not be crossed again. This includes keeping emotional and physical distance and respecting each other's boundaries and needs.
6. Seek professional help: If you feel that you can't handle this relationship on your own, it's a good idea to seek professional help. Counselors or marriage and family therapists can help you deal with emotional problems and provide guidance and support.
Remember, everyone's situation is unique, and these suggestions may need to be adjusted according to your and your partner's specific situation. The most important thing is to be sincere, respect and understand each other's feelings, so as to find a solution that suits you.