If you are the landlord
The Homes (Fitness for Human Habitation) Act lets a tenant take you to court directly, and damp and mould is a category 1 hazard. Repainting it is not a defence — the cause has to be dealt with, and you need to be able to prove it was.
You get a report naming the cause and a commissioning certificate proving the fix works.