Fast loading webpages rank better than slower ones, whether it’s a ranking factor for search engines or not, it’s crucial from User Experience perspective.
There is many reasons for slow webpages, it could be server side and hosting issues, heavy java-script and CSS files, or images and videos larger than your website capability.
We use Google’s Page Speed insights tool, you can test before and after.