Broken Hearted

My bf and i have been together for 4 years and it hasn't been easy. We had our problems but i love this man despite everything but my heart is a bit broken because i haven't healed from some of the things i've been through with him. None of us are perfect but how do you get over betrayal? I find it hard to sleep at night, i i don't eat, i can't even focus anymore. I feel so uncertain sometimes but i do know that i love him. I'm just in pain.