Determine the primary diagnosis based on the patient's symptoms and medical history. Use an ICD-10 code book or online tool to find the most accurate code. Document the code in the patient's medical record for accurate billing and insurance claims. Keep updated with any changes or updates in the ICD-10 coding system.