Oxycoden while pregnant

I am taking 2 perkesat (Oxycoden) every 6 hours while recovering from my wisdom teeth getting out. I'm not sure yet if I'm pregnant, planning on testing next week (I'm 3 weeks pp) but could this be potentionaly harmful to my unborn baby if I am pregnant?