Pill Question!!!!!!

i gained roughly 20 pounds when i started taking the birth control pill throughout a few months to a year . i’m so sick of the extra weight and am also thinking about switching to an IUD. if i stop taking the pill will it be easy to shed off the pounds i gained from taking it??