TLDR; A Lot of internet coupled with a lot of trial and error - fun times.
But seriously, I first started researching online how people trained their dogs for obedience and to do simple tasks. Read a couple of books on the subject, signed up for an online class (COVID lockdowns and all), watched tons of Youtube videos, which were more informative and way more practical than the classes and books and practiced a lot with my Dog. She picked up really fast and within a couple of months I had her doing some serious obedience tasks. I would say she and I learned together ;) After that, I amped up the work consistency and focused on the specific task she needed to do in my case to become a service dog. Now with that said I want to plug something here, there's a group called STSK9 that has an outstanding online dog training university. I found them way down in my path and I still may register since I love what they are doing to help teach people how to train dogs and from what see on their site + social media interactions their students and dogs get the best in the biz.
Link to their site https://www.stsk9.com/