Hello, We understand how frustrating it is when the Bluetooth will not stay connected. The article provides several helpful tips for maintaining the connection. https://www.samsung.com/us/support/troubleshooting/TSG01209182/
If the phone continues to lose the Bluetooth connection after completing all the steps, it is recommended to have the phone evaluated by a service technician.
You can use the following link to find a list of service centers in the U.S. that can do the repair: http://www.samsung.com/us/support/service/location or by contacting customer support at 1-800-726-7864.
For assistance outside the U.S., please use this link: https://www.samsung.com/us/common/visitlocationsite.html