How to record audio from the user's microphone

How to record audio from the user's microphone