There are many reasons why your internet connection is not working smoothly on your device. There are some of the key points that could help you to out properly in this scenario and resolve your query.
Check for the multiple devices connected and how much usage it takes.
Stop the unnecessary background apps that can take too much internet usage.
Sometimes older versions and frameworks provide slow internet speed make sure to use the latest or updated version.
Switch to 5 GHz from the 2.4 GHz because now Wi-Fi 7 is almost there. Use the latest version for better speed.
Regularly update your router and ask the broadband customer service for slow speed if persists.
Your internet may be slow due to network congestion, weak Wi-Fi signal, outdated hardware, background apps, or ISP issues. Try restarting your router, moving closer to it, or upgrading your plan.