Windows
‘Ctrl’ + ‘Alt’ + ‘-‘ is the shortcut for the em dash on Windows.
Mac
‘Command’ + ‘M’ will create an em dash on Mac.
Alt/Option Codes
Failing that, use the Alt or the Option button (depending on whether you have a Mac or Windows PC/Laptop) and type the following code: 0151. This should produce an em dash.