Everyone feels remorse, we all make mistakes which result in hurting the ones closest to us. Whether they'll forgive us will be up to them, but how do we go about forgiving ourselves?

I've immensely hurt the person closest to me and who was my everything about two months ago. Ever since I've been trying to fix things but they've lost every ounce of trust in me and I don't think it's gonna get anywhere, so I'll have to be ready for losing them completely.

Do not ask what I did, I do not need anybody analyzing whether I deserve forgiveness or not, which party was wrong, or anything of that sort. That isn't my question, and that has been sorted out between the ones involved anyway. Nor do I need advice regarding fixing things, either way I have to find a way to make amends with myself.

My question is: how does one go about forgiving themselves, in general? Will this situation just haunt me forever? How do I go about coping in a healthy way, as all I'm feeling right now is self-loathing?