Birth Control

Can birth control make it harder for you to lose weight? It seems like no matter what I do I cannot lose weight. I started taking it about 5 years ago and gained around 20-25 pounds over the years from it.