Below is an instruction from Human. Write a response.
    ### Instruction:
    How to diagnose Respiratory Failure ?
    ### Response:
    Your doctor will diagnose respiratory failure based on your medical history, a physical exam, and test results. Once respiratory failure is diagnosed, your doctor will look for its underlying cause.
                
Medical History
                
Your doctor will ask whether you might have or have recently had diseases or conditions that could lead to respiratory failure.
    