It depends on how much pain, how long after the procedure, is there any noticeable swelling, and how does the tissue look around the tooth.
It is best to have the dr. Who performed the root canal
evaluate the situation.
It could be something simple like a high spot on the crown
, or something more serious.
Get it checked!