I am 32 week pregnant my doctor has prescribed me to take obimet 500gm only after dinner as my fasting sugar is ranging in 90 s is it safe to take this medicine ...can it harm my foetus

The medication has been prescribed to control your sugar levels especially as you sleep since metabolism is slower. Please follow the doctors prescription as fluctuations in sugar levels can cause issues with fetal development.