I need to compress images to speed up my website [duplicate]

This question already has an answer here:

  • Google Pagespeed: How to satisfy the new image compression rules?

    3 answers

  • How to compress jpeg images for Google Page Speed ​​Insights? [duplicate]

    2 answers

  • How to satisfy GSPI's "loss of compression …" image optimization criteria? [duplicate]

    2 answers

  • How can I replicate the lossless image compression of Google Page Speed ​​as part of my workflow?

    3 answers

My website is extremely slow.

One of the main reasons for the slowness is due to the large images in the headings of the pages.

I have been advised to compress them.

How would you do to compress the images without ruining the quality or changing the dimensions of the site?