Feeling lost and hopeless

My boyfriend of a little over a year doesn’t want to be with me anymore. He tells me every day he feels like we are just roommates because we don’t have sex anymore. I have lost my want to have sex, doctors haven’t figured out why, I still find my boyfriend attractive, Iv just lost the want to have sex. He has told me multiple times he hasn’t lost everything for me because I won’t have sex, we don’t cuddle anymore and don’t kiss as much. Gripes about everything I do or what my family does or says. The other day he was talking to his cousins ex girlfriend and told he is thinking about leaving me and then told me today he is still thinking about it. I have no where to go, and do not have a job as I babysit for free for my sister. I’m lost of what to do or what to do to save my relationship. I love him more than anything, 😢 we have three fur babies together and if he leaves I have to take all three of them as he doesn’t want them if he leaves.