coughing does not mean ay may pneumonia agad. it need to be assessed by a pedia.
it could be post nasal drip na nasa throat, etc.
there are also 2 types of cough, wet and dry.
since 3 months pa lang si baby and is coughing, you may consult a pedia for advice. para next time, you will know on what to do.