This happened to me while freediving...I had a computer on, wanting to see how deep I could go (competitive drive+feeling of invincibility=problems). Pushed it too hard, at 34 ft heard a "pop" in my right ear, felt cold water rushing in, instant vertigo. Fortunately for me I was not breathing compressed air so I bolted to the surface and told my buddy. When we got home my buddy insisted on putting some sort of ear drops in my ear in an attempt to prevent infection, and I'm not exaggerating when I say those drops hitting my perforated eardrum was one of the most painful experiences I've had to date. In hindsight I'm thankful for the ear drops, because the medical treatment where I was living was subpar. The doc insisted that the problem was just an earwax buildup, and sent me to a nurse to have it flushed out with one of those teeny tiny powerwashers for ears. This was also painful and I could feel and taste the water trickling into my mouth but the nurse didn't speak much English (which is my only language) and I was unable to express my concern. I tried to snorkel the next day and submerged to a very shallow depth (5 ft?) and felt the cold feeling in my ear again, so I got out of the water and sat out from diving and swimming for maybe 3 to 5 days, then tried again and it felt weird (cold feeling, passing vertigo, didn't need to equalize pressure in that ear) but not terrible so I kept doing it and was VERY VERY fortunate not to have any lasting damage. Today I can dive and equalize normally, thank goodness.
Anyways, I am very sorry this happened to you. It sounds like your case wasn't caused by pure stupidity (like mine) but rather bad luck coupled with maybe a slight lack of caution. Hopefully you'll be back to diving soon!!