Mushrooms in my garden.

I just started a small garden this year and am very new to it. A week ago I noticed a few small mushrooms. Now there seems to be an infestation of them. Are they bad for my garden? And if so, how do I get rid of them? I tried digging them out when there was only 10-20, now there are hundreds.
  3 answers