I am sorry to hear about your pain and discomfort...
You mentioned that you have got caps on 2 teeth and you think that this pain could be related to those teeth.
Do you have any sensitivity while taking anything Hot or Cold with any of these teeth?
Are these teeth painful while touching them?
Is there any pain while biting?
are you having any systemic diseases or disorders?
How is your general health?
Are you taking any medications for any other systemic problems?
Since when are having this pain?
When were the caps or crowns prepared?
I would be able to understand your situation better if you could provide us with some more information about your present condition....