Diagnosis of local infections typically involves a physical examination and a review of the patient's medical history. Laboratory tests, such as blood tests or cultures, may be conducted to identify the causative agent. Imaging studies like X-rays or MRIs might be used in specific cases to assess the extent of the infection.