Open any keyboard that supports dictation, like Gboard, Apple Keyboard, SwiftKey, etc. Tap on the microphone icon on the keyboard and start speaking. It will be converted into text as you speak.