Hello jeffson,
My name is Hanem, an independent advisor, and I'm here to help you.
I'm sorry that you are experiencing this issue, and I will try my best to assist you.
I am using a DS4 controller as well and for stable connection you need to download their application, here is the link: https://ds4-windows.com/
tutorial on how to use this is already posted on their website, I recommend as well to change the usb cable just to check and refresh the connection.
Feel free to reply on this thread if you still need further assistance, and I'll be more than happy to assist you.
_________________________________________________
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.