What is Lossy and lossless compression?
Lossless compression keeps every pixel. Lossy compression throws away detail you are unlikely to notice to get a smaller file.
PNG is lossless, so it suits logos and screenshots. JPG and WebP can be lossy: lowering the quality shrinks the file but adds visible blocks if you go too far. For photos, 80% to 90% quality is usually a good balance.
Each time you re-save a lossy image, quality drops a little more, so keep the original.