Propanolol for migraine during early pregnancy

Anuradha • TTC#2 Ater 3 miscarriages blessed with baby boy on 31st December 2019🌈

First time in my life I'm having migraine pains. Doc prescribed propanolol 40 mg. I took 4 tablets before ovulation. Then stopped and I'm having headaches again, unbearable 😞 my urine pregnancy test is positive, today being 13dpo. Should I take the medicine? Will it do any harm? Doc said I can take for 3/4 days but I'm worrying. Please any options will be helpful.