Mushrooms in my soil

Hey, I noticed tiny white mushrooms in the soil of my 4 days old weed plant. I nipped them of, now, but are they harmful to the plant? And if so, how can I get rid of them?