You may experience some pain for about a 7-14 days after a root canal, this is because often cleaning instruments extend beyond the tooth which causes some irritation. This is normal and heals with time.
Next Steps
Followup with your dentist if the pain persists after 14 days.
Health Tips
Avoid eating from the affected side, this will help any irritated area heal faster.