pregnant and taking BC!!!

I didn't know I was pregnant and started taking the pill for 2 weeks, how harmful is that? (I obviously stopped when I found out I was expecting) :/