Many cities in the US have simply shared their transit information with Google Maps. For example, I live in Louisville, KY so I simply type in where I want to go to Google maps, ask for directions and I can select from driving, transit, cycling, or walking directions. That's the easiest way to do things. If I wanted to take a few additional steps I could go to the website for the city bus service
https://www.ridetarc.org/system-map once I've figured out the route then I need to look at the route's schedule:
https://www.ridetarc.org/maps-schedule From there I can determine what I need to do to get where I'm going. Most cities with public transportation systems have similar methods setup. However, in the US not every city has public transportation.