When Bobby had his cataract surgery, they needed someone to stay there to be sure someone was there as soon as he was finished, but it might be different at different doctors , depending on what their requirements are. It is good to check it out well beforehand so you have time to make necessary arrangements.
Also, look at what your Medicare plan covers. If you have an advantage plan, many of them will cover non-emergency doctor visits, but you have to schedule it ahead.
Here in Huntsville, there is also a special bus for elderly and disabled people, and it is called a Handi-Ride . You can schedule rides and pay for a ticket, and they will drop you off and then pick you back up at a specified time. If your town has something similar, you can look into that also.
I don’t know if you can schedule two rides at a time from Uber, so that they could drop you off and then pick you up again, but that might be another option.