According to your history, I think there must be a perforation in your ear drum.
If you are not suffering from any decrease hearing then perforation will be very small and it will be healed spontaneously within a month. If you are suffering from decrease hearing then the size of the perforation may be big and in this situation you have to consult an ENT Specialist
and if required he will advise for surgery. Ringing in the ear is due to perforation. So, once perforation is closed (either spontaneously or by surgery) ringing sound will be stopped. Have a speedy recovery.