Yes , ma'am, it's causes pain sometimes if the preoperative pain was there or if the condition is chronic( I. E of long duration ) may cause pain in the treated tooth.
Next Steps
Take prescribed medicine as advised by the dentist &Gargle with lukewarm salt water after every meals to maintain oral hygiene.
Health Tips
Don't chew from that side till tooth cap is being placed on it.