This page at donotpay (a 3rd party site) has very good instructions on the refund policy. And this Dell page has further instructions and a video. Keep in mind that you only have 30 days to return the product.
I borrowed money as i make very little to buy the m15 ryzen edition r5 laptop. my very first ever gaming laptop. it cost me 3k. i even paid for the premium support and accidental insurance. my laptop has not been working for about 3 months now and dell are doing about it they have run through diagnostics and are saying there is nothing wrong with my laptop. yet when i try play days it kicks me out every time. yet my coworker who doesn't have fiber is using a cheap 12 year old laptop has zero issues and trying to surf the internet feels almost as bad. Finally i get an email back back after weeks of me trying to fix even though i paid extra so i wouldn't have to and all they have to say is that they have have raised the issue with their replacement team and they will review the notes and consider a replacing it.  Code of Conduct. DELL-Admin> 
I will not buy from Dell again