To use cheats in Doom Eternal you need to unlock them first (more on that below) and then activate them in Mission Select or on the main menu. To open the cheat code menu, you'll need to either press Square, X, or R while on the Mission Select screen or find the option on the main menu.