Samsung A5/ Wi-Fi connection is interrupting / no automatic Wi-Fi connection

Hello, I have problems with the Wi-Fi connection on my Samsung A5. The connection is constantly interrupted and I have to switch the Wi-Fi off and on again to be able to find the network again. In addition, the automatic connection often only works after switching the Wi-Fi off and on. Can anyone help with this problem? Many thanks