I have had some minor bouts of vertigo in the past and from that I knew what the signs were and how to cope with them. I also read Don Shirleys account of his severe vertigo on the Dave Shaw dive and from that gained an understanding of how disabling it can be and yet, if one keeps calm, one can still survive such an event. Those two things gave me some background to work with.
I have said in the past that I have an altered idea for recreational soloing than that which I first started out with. In the past I though I should approach solo diving like a technical diver and be willing and able to solve all problems at depth. I admit this may have been an incomplete view of that concept, but I generally viewed solo diving as having the capacity to do everything a buddy team could do, but alone.
These days I do believe that a solo diver is actually handicapped by the lack of assistance from a competent second person, so the approach to problem solving needs to be centered on early detection (prevention) and maintaining ones connection with the surface. For me, the most dangerous place to be is at depth alone, trying to solve a problem, and being sucked farther into tunnel vision and fixation. There I can become confused, over breath my gas or finally feel I have only one option remaining - bolt for the surface.
Thal, on the board, sometimes talks about the cone of safety, which is wide near the surface but narrows with depth and dive complexity. As long as one stays within the cone one is generally safe but the further outside that cone one travels, the more risk one assumes. My philosophy is to either stay within that cone or one jump out of it.
So, when a problem occurs, the first thing I do is move into the cone (which for me translates into orienting myself to my pathway to the surface). If I sense I cannot easily manage the problem at depth, I move upwards, where more options become available. If I still cannot resolve the problem, I surface. I would rather solve a problem at 50' than 100' and I'd rather work on a serious problem while doing a safety stop than delay it and have to surface directly.
In the case of this vertigo which began mildly on a wall dive at approx. 60', I tried to equalize, flood my hood a bit, close my eyes, focus on an object etc... without relief. I then got my bearing and moved close to the wall and upwards until I hit twenty feet. By then it was moderate and unrelenting vertigo. What I focused on was a slow controlled ascent, which helped take my mind off the disorientation. I did a safety stop (I had been to 90+) with my eyes mostly closed or focused on my computer for depth (which also helped) and just tried to relax into the event.
On the surface I signaled the boat for pick up and swam out to it. When I made contact nausea hit and I puked my guts out. Then I climbed the ladder and puked some more. I was wobbly for the rest of the day and had kinda sore ears so I suspect I may have have a bubble in my ear canal or eustachian tube that expanded to quick ( I don't know for sure).
So, I guess what I did was based on:
Prior personal experience
The experience of another
recognizing early what I can and cannot cope with at depth
Moving up in a controlled manner
Accepting the event and focusing on what I needed to do to effect a positive outcome.