How do I know that my root canal has got infected?

Infection can be diagnosed by the symptoms that the patient experiences and after taking an intraoral radiograph to observe for any periapical changes.