It depends on the pill you take, hormone based ones are fine, but others thin your blood leaving you at risk of dvt, and blood clots. Phone the clinic and speak to the nurse, she will advise which action you should take xx
I was on Cerazette and was told i would be ok to keep taking it.. but they said it would be better if i stopped because if i carried on taking it they would want me to wear the tight long socks for a couple of weeks after surgery to avoid DVT and blood clots. Whereas i only had to wear them overnight if i didnt take the pill.
I stopped it a month before though and started again a month after to avoid blood thinning and the incisions taking longer to heal. xx