To add to JohnB's questions, do you have the Service Tag handy?
When it comes to reinstallations, you can use the MS Windows Tool, or you can use the Dell's OS Recovery Tool, which can be
found here (Direct link). The difference between the two is that the Dell Recovery Tool will also have the drivers for the machine, and some other Dell applications, while Windows Tool will just be standard Windows.
To do the Dell Recovery Tool, you will need an unused USB Drive that is 16GB minimal in size (an 8GB may work). The setup will erase the contents of the USB Drive to create the installation files.
You can run this program on any computer, but you will need the Service Tag. If you do not see it on the bottom of the machine, you can find it in the BIOS - first screen.
The installation setup will prompt you for the Windows to create, which should be Windows 10. If it allows Windows 11, then I would recommend that.
Once created, you would use the USB drive in the Dell machine and restart, then press F12 until the Boot Menu shows so you can select the USB Drive.