The mushrooms in your lawn are coming from decaying organic matter like wood from old roots, stumps, or other wood items. There is no solution to the problem other than to rake or mow them off the lawn. When the organic matter is completely decomposed the mushrooms will disappear.