Personally, I wouldn't take it. I had a cyst in the beginning as well, but it eventually went away on its own. It caused pain, but I wouldn't call it debilitating, so I can't say I can relate. My objection to taking the medicine is founded simply on the realization that EVERYTHING that affects you will affect your child.
I took percocet AFTER my child was born (Cesarean) and it affected her immensely (I breastfed), basically turning her into a comatose baby. If it does this OUTSIDE of the womb through breastmilk, imagine what it does INSIDE when their entire body is linked to yours.
HOWEVER, this really is your decision, and you shouldn't let others guilt you either into or out of taking it. Taking it might not be good for your baby in the shortrun, but may be better in the longrum cuz you'll be healthier? dunno.
Just know that EVERYTHING you take has an affect on your child, and that when doctors say your child will be "fine" it basically just means it won't cause anything serious like a disease or death or something like that. That doesn't mean it still doesn't cause harm. Because of the percocet, my daughter was practically comatose and didn't learn how to nurse... soon as I stopped taking the percocet, she perked right up, but the damage was done and my supply had already tanked.
If you feel that the pain is debilitating, it may be worth it... but realize that there may be more options, and look into them.