Hi welcome to Health care magic forum. It appears that you had lower respiratory tract
infection. It will be difficult to treat su h infections, so i advise you to consult a chest physician for diagnosis and treatment. You may need to get digital xray, sputum for A.F.B along with other routine tests for confarmation. The rib pain
could be due to gastric irritation from antibiotic you have used.
Besides i advise you some diet recommendations as Avoid taking ice water, ice cream, cool drinks, fruits and juices. Also avoid spices, chillies, junk foods, and oily foods.
Take more of green leafy vegetables, pulses, sprouts, milk, egg, meat, and dry fruits to improve blood, general health, and resistance to withstand such infections. Wishing for a quick recovery and thanks for calling.