This article explains how to use Google's voice recording app for Android. Only Google Pixel phones (Pixel 2 and newer) can use Recorder, so these steps are only relevant for Android users with a Pixel.
If you don't have it already, download and install Recorder and follow these steps to create a new recording:
Tap the record button.
View the recording via the Audio tab or tap Transcript to view the spoken transcription in real time.