To freeze rows 1 and 2, and columns 1, 2, and 3 in a spreadsheet, you should highlight the cell in row 3 and column 4 before selecting Freeze Panes. This action ensures that everything above and to the left of the selected cell remains visible while scrolling through the spreadsheet.