Painting over the mould will not remove the mould. The mould will continue to grow under the paint, causing the paint to peel. You have to remove the source of the mould.