In the QuickTime Player app, go to the Screen Recording section. There, choose if you want to record all of your screen or a portion of it