Hi thanks for your question.
Most probably you are having pharyngitis
along with infection of upper respiratory tract
The ear pain is refered pain from pharynx.Claritin D is decongestant containing loratidine and psedoephedrine and ibuprofen is analgesic.lack of sleep could be due to side effect of pseudoephedrine
You need both these medicine but along with these you also need antibiotic like levofloxacin
for 3 to 4 days.
Hopefully you will be free of symptoms in a week time.
Hope this answers your question.