losing sex drive because of pill?

C
I've noticed a decline in my sex drive over the past 7 months. I had a high sex drive with my ex and its declined ever since, I don't know if it's because I haven't been having as much sex or because of the pill. a lot of people said the pill can decline your sex drive. has anyone else experienced this? how can I fix it lol