If the video has multiple speakers or whatever then you might have to edit it further with the premiere caption tool. This process worked really well for me for a talking head video that they wanted open captions on. You then have the option to download the caption file.
Then use their caption tool, there will be an option to upload or paste your own transcription, and youtube will automatically match it up. It provides up to 99 percent accuracy for the captions with a turnaround time (TAT) between two and 25 hours.
It can just be a real small low quality version with just the dialogue track. Rev is a multi-purpose cloud-based software that offers premium, on-demand closed captions, transcriptions (both manual and automated), and foreign subtitles. Go through and edit any errors as needed. After a few minutes you will get a document with the transcription. Just open a word document, click "dictate," then upload the audio file. Microsoft word however has a dictate function that is really good and includes punctuation. Youtube can do automatic captions, and while it's pretty good there is no punctuation. The best way is to use a combination of Microsoft word, and Youtube. I was having some trouble myself but discovered a cheap workaround. If you happen to be on CC, Transcriptive works great however it's a bit iffy to recommend it right now as Premiere itself has voice recognition AI currently in closed beta. If your NLE can't do it, Shutter Encoder can (and also has its own basic subtitle editor!) You'll need to use alternative software to either mux them in to a video file or burn them into the video itself. Note that it doesn't actually add subtitles to videos - it only creates subtitle files like. Unfortunately it's Windows only, but I've heard that it works in WINE on OSX/Linux. If you do need to do them yourself, then I'd recommend Subtitle Edit. The only reason I ever do them myself anymore is if the project has commercially sensitive information/privacy related issues that means I can't subcontract the captioning out - which might be the case for hospital work! I do a lot of subtitling myself but it is impossible to be competative with them in terms of the price I charge my clients. Rev.com are my go-to for captions and subtitles.