According to the Dell support website, five beeps is indicative of a bad CMOS battery. Usually this is just a 2032 coin with leads soldered to it and should be cheap enough to pick up. That said, verify the number of beeps as even one less can mean something completely different.
[https://www.dell.com/support/article/us/en/04/sln183136/dell-xps-18-understanding-diagnostics-and-beep-codes?lang=en|https://www.dell.com/support/article/us/en/04/sln183136/dell-xps-18-understanding-diagnostics-and-beep-codes?lang=en]