Thanks for query.
It seems that you are having infection in your middle ear called Otitis media
This requires one antibiotic medicine course.
meanwhile your appointment with your doctor,
Put antibiotic, analgesic
Take some anti inflammatory medicine for pain and swelling.
Clean your ear with cotton buds.
Ok and bye.