What can I do? This should be illegal

My landlord is terrible. The main problem is there is black mold around my window frame and when I told them about they sent maintenance over with a can of white spray paint. Yeah. I’m reallly pissed of about that. Now my whole room smells like paint fumes