I have a cyst that 4 cm. I was on bc to shrink it. But instead I gained weight. Should I b concerned about ovarian cancer?

No. Ovarian cysts are a very common finding in young women. They do not predispose to ovarian cancer. Some risk factors for ovarian cancer include never having been pregnant, women treated with hormone therapy (like estrogen), and genetics (such as a brca mutation).