On hosted platforms such as Shopify, Wix or Squarespace you don’t control the server, so speed depends on how the pages are built. The main sources of delay are large images, themes with many sections and animations, a pile of third-party apps and extra fonts. On WordPress the usual culprits are heavy multipurpose themes and plugin overload.
What you can do: compress images before upload instead of inserting camera originals, turn on image optimization where your plan provides it, keep the minimum of font weights, replace complex custom sections with simpler standard ones where it doesn’t spoil the design, remove apps and scripts that are no longer used and avoid heavy animation on the first screen.
If the figures stay weak after that, the cause lies in platform limits: you can’t change the platform’s code and servers. Then we discuss moving to another platform, covered on the website migration page. For a whole site built on WordPress, see WordPress development.