Mold problem?

It’s been raining a lot lately and my s/o and I live in a studio in the back with no roof over the door so the water leaks in a lot. But it hasn’t been able to dry!

I recently discovered white and fluffy mold with a mushroom growing on it so my s/o swiped it up and put a portable heater pointed towards the door to try to dry it. After a couple hours he sprayed vinegar on it. But now the wooden trimming that meets the carpet that was yellow and had a bit of mold turned black!!

Im so clueless with this stuff guys what do I do??

(Also I’m 6 months pregnant and we have nowhere to go because his moms house is full and my mom doesn’t want us in her house and we have no other family available. And we can’t exactly move out. So I was hoping for a quick fix. It’s supposed to stop raining after this weekend thank god).