Okay i've found out how to do it. You basically have to create a bootable USB Flash Drive and boot up with that instead of your hard drive. from there you can install a new version of Windows!
I probably messed up so i need some help. Most of the time my PC needs to be turned on and off a couple of times for it to work but this time, i tried 10 times before i gave up. I went to this blue screen and instead of usually pressing restart, i pressed advanced repair options. I tried startup repair but that didn't work. i kept pressing it but eventually gave up. Then i tried to exit recovery mode but i couldn't. i thought i could exit it by changing the operating system from windows recovery to windows 10 base 3 and i did that and then this is where i'm here now. I can go into F2 and F12 but can't seem to go into recovery mode. I would be grateful for any help and appreciative of the time you gave up to help me!
My Inspiron 15 N5050 won't get past the dell logo before turning off and on 
again