Below is an instruction from Human. Write a response.
    ### Instruction:
    How to diagnose Pneumonia ?
    ### Response:
    Pneumonia can be hard to diagnose because it may seem like a cold or the flu. You may not realize it's more serious until it lasts longer than these other conditions.
                
Your doctor will diagnose pneumonia based on your medical history, a physical exam, and test results.
    