You seem to be having sinusitis. The cold may lead to congestion causing sinusitis and pain in the upper teeth and ears. Do steam inhalation, take a decongestant medicine if required. You can do warm compress with a napkin from outside.
Health Tips
If painkillers are causing ringing in the ears please discontinue immediately. Ask your doctor for an alternative