The answer to this question is complicated, as it all depends on how bad the mold is, and what type of paint you want to use. It is no good painting over the mold with mold resistant paint, as this will not get rid of the problem. If you are going to use a mold killing primer, then the answer is yes, as it will kill the mold.