Low sex drive

I’ve been with my boyfriend for 3 years now but for probably the last two years I’ve been dealing with a really low sex drive. And in the last 8 months I’d say I have no interest in sex at all or anything to do with it. Like even masturbation or anything I don’t get turned on ever.

I’m really worried that there is something wrong with me or I am failing at being a partner. I’m definitely attracted to my boyfriend he is great and I think he’s hot so it’s not to do with him I just do not have interest in sex.

I don’t know what to do please help 🙏🏼