Thank you for your query,
usually takes prolonged treatment like 2 weeks and the fever
will take time to subside and it will be around 1 week to 10 days and depending on the nature of organism and the extent of the lung involvement.
Follow your treating doctor advise and the antibiotics has to be continued further.
Hope I have answered your query.