ssh – The system keeps on disconnecting even if it is connected to the WIFI

My laptop disconnects every 5 minutes but it is always connected to the wifi, which correctly works.
I have tried with another browser but it is the same, in addition I have experienced the same loss of connection with a ssh file transfer.

My ubuntu version is 21.04, and my laptop is an Acer Aspire 3 A315-56.