Need advice ladies

Jessica • My name is Jessica. I am married. We have a 9year old son and a daughter who is 2!
So mine son has been sick for three weeks he had pneumonia then it seems like he was getting better then his fever came back and a horrible wet cough and two ear infections. He has been to the doctors at least once a week since he started to get sick. I was reading online for some home remedies for phlegm and it said to boil water and put vapor rub in it and then put it in a cup to smell it. Well my son didn't like that so right now I am currently putting hot water with the vapor rub in a humidifier next to my bed where my son is laying. Do you think it's ok for me to breath that in? I am a little over 12 weeks pregnant. Also if you know of anything else to help my sons cough let me know. He is on antibiotics and a allergy medicine and an inhaler for his wheezing. His doctor will not allow him to be on any cough medicine.