Mushrooms grow on decaying wood, so to get rid of them you must figure out the source of the wood -- bark mulch or decaying roots from a tree that was removed are two likely sources.