Cleaning products while pregnant

Is it ok to smell and use cleaning products like lysol spray & carpet cleaners ? I’ve been cleaning my carpets and cleaning the rooms down before baby gets here . Anyone else use cleaning products while pregnant and baby ended up fine?

How long should I air the room out ?