birth control

so i had an IUD after my son was born and ended up with ovarian cysts, the doc took it out and put me on the pill bc she says it prevents the cysts from forming...but i haven’t taken the pills yet, will i get cysts again?