Can mold affect my baby?

Just discovered mold in the floor of the room next to my room, and water leaked over into my rooms floor /walls. Room has since been remodeled, but I slept in there with the moldy smell for three days, can this affect my baby??