In order to make sure that the staphylococcus infection or the staph infection is properly diagnosed in a patient, the doctors might perform a series of tests and examinations. One of the first things that the doctor will do is perform a proper physical examination. They will check for skin lesions in case the patient has any. Most often, it is also seen that they check a particular tissue sample as well as some nasal secretions in order to find the bacteria. In case the patient is diagnosed with a staphylococcus infection, the doctor might order a proper imaging test that is known as an echocardiogram. This is in order to check if the staph infection has affected the heart or not.