Please help worried

So i recently found out i was pregnant but for the first 2 months i did not know because i got my period and i smoke marijuiana about every day i worried my baby will have problems i made a appt right away but has anyone gone through this before?