I think you are done as PIC...unless your condition can be reliably controlled or cured.
But you can still fly, just not as PIC. Find some friends who like to fly, or maybe get your spouse/SO trained. Also you can still flight instruct, as long as the student is qualified to act as PIC for the flight in question...no medical is required for CFI's.