Metformin and aspirin

I am on my 8th week and the doctor advised me to take aspirin due to high platelets. She also advises for me to take metformin XR due to high insulin. Should i take them? I am worried ot might affect my baby. Thank you in advance