Please, advise.

Emily
Broke my foot a week ago been trying to conceive possibly pregnant. However, in a lot a pain and doctor gave me Percocet. I try not to take many anyway; however I don't want to take them because I don't want to hurt possible baby. On the other hand  the pain is outrageous. Will I hurt my baby?