Thanks for posting your query.
is a bacterial infection of lung parenchyma. This disease is treated by complete antibiotic course and production of sputum is also due to pneumonia. Treatment of pneumonia also resolves sputum production.
Bleeding in cough
is also due to pneumonia.
As such no surgery is available for pneumonia.
You should consult with physician and should take antibiotics safe in pregnancy
Dr. Mayank Bhargava