Is there such thing as a quick relief?

I had gone about 2 months without any of the "zaps" I had been getting in 1 specific tooth. I had the tooth looked at by an endodontist and he said it's fine and that it's neuralgia. The pain went away until literally an hour ago, and now I've had 5 good jolts. Is there a medication I could take to calm the pain only during flare-ups to hopefully calm the next attack? Or is all of the treatment much longer? My doctor had prescribed me carbamazepine a month ago but have been scared to start them, but took one out of desperation tonight.