Hello I am Dr Ravinder Sharma ENT surgeon
On the basis of information provided it appears you have acute infection of ear initially presenting with pain in ear. As the infection progresed there was a collection of pus in ear leading to the rupture of drum. At this point you noticed blood stained yellow pus from ear canal
. You will need a ENT consultation to look for the state of tympanic membrane. Treatment will involve a course of antibiotics, analgesics and topical ear drops.
I hope this answers your concerns. Feel free to contact me if your need more information on this
With warm regards