Why JPEG is still the safest choice
JPEG has been the default photo format for thirty years, and the reason is simple: it was designed to throw away the detail human eyes are least likely to notice. That makes it the ideal format for hitting a tight file-size ceiling while keeping a photograph looking like a photograph.
It is also the format every form validator understands. When a portal says "upload a .jpg under 100KB", converting to WebP would technically give you a better image — and would also get rejected by the validator. Stay with JPEG when the instructions say JPEG.
Compressing a JPG that is already compressed
This is the one mistake worth avoiding. Every time a JPEG is re-encoded, it loses a little more detail — photographers call it generation loss. If you compress a file that was already compressed at quality 60, you inherit those artefacts and then add your own.
Always start from the original. If the result is not what you wanted, go back to the source file and compress again with different settings rather than compressing the output a second time. The difference is invisible on the first pass and obvious by the third.
JPEG has no transparency
A PNG logo with a transparent background will gain a white box the moment it becomes a JPEG. If the form needs a photo of a person or a signature on paper, that is fine — the background is white anyway. If it needs a logo, keep PNG or WebP and accept a larger file.