Low libido, pill’s fault?

My sex drive took a hit when I went on the pill and started to plan my wedding. I haven’t been able to have sex with my husband and it’s making us both frustrated what can I do to fix this?