The mushrooms aren't the cause, they are a symptom. You have water getting in the wall. Could be poorly installed or flashed window, leaking roof or siding.