bartholin cyst

i recently started taking the progestogen-only pill and now i have 2 bartholin cysts. but i don’t know if its because of the pill or masturbating too much