Last year, I was in a really bad car accident.
After the accident, I wasn't driving for 3 months. I was having nightmares about it. What helped me get back to driving was doing by baby steps and increasing a higher dose of my antidepressants.
Steps I would recommend for you to get back to driving are:
Set behind the wheel and familiarize yourself again with the gears, turn signs, steering wheel, etc,
If you have a driveway, practice reversing.
Drive around the block.
Drive somewhere nearby to do an errand.
Slowly increase the distance where you are going to drive.
I hope you get better soon.