Cleaning Mould Away & Inhibition of Future Mould Growth
Mold requires two things:


Organic matter (i.e. food)
Water


You prevent mold by eliminating one or both of these.  In many cases the food is the building materials themselves, wood, paper, some paints, etc.  So you have to focus on the water or moisture that is allowing the mold to take hold and grow.

A diluted bleach solution is useful for cleaning up but it will not inhibit future growth if the conditions are again favorable. Commercial mold removing products are also available.

In difficult cases you can get paint additives that are designed to inhibit mold and mildew growth.