Mold does not grow unless it has water so its important to identify the cause of the mold and fix that first. If you do not take care of the underlying problem, mold will just grow back again. Check to see if you have any leaks or other water related problems.
While mold can be removed from hard surfaces with water and detergent, it is much more difficult to remove from carpets or more absorbent surfaces. A carpet containing mold will likely need to be replaced.
Before you paint over a wall that has mold on it, scrub the area thoroughly and make sure it is completely dry, otherwise the paint can begin to peel and look unsightly. Do not try caulking a moldy surface either.
When mold and mildew forms on cushions, curtains or other soft furnishings, it tends to leave behind stains that are extremely hard to remove. If you do not want to replace them, it would be a good idea to seek the advice of a furniture restoration company who can advise you on what to do.
Remember that mold is known to be hazardous to health so, before starting the cleanup process, make sure you are equipped with the appropriate protective clothing and wear a respirator. Keep other members of the household away from the area unless they are wearing protective gear as well.