Please Help Me

So my boyfriend and I have recently surpassed 3 years together but i feel so unhappy and i have been for a while. I dont feel like I can leave because i do love him and I want it to work but i dont think i have the energy. He’s such a big part of my life, what should i do?