Image resolution settings are only used when printing an image on paper. It affects the quality of the print and dpi numbers around 300 dpi produce sharp looking printouts. As the resolution goes down, the printed image looks increasingly blurred. Printing at 75 dpi for example, would produce a very blurred image.
Computer screens, tablets and phones do not use the dpi resolution of an image. The setting is completely ignored and it does not make any difference to the image quality on the screen. Set it to 300 dpi or 75 dpi or anywhere between and you will not see any difference. Just ignore it.
The thing that affects the quality of an image most is the compression used. Compression is used to make the file size smaller, but it worsens the image quality.
When saving images as JPEGs or WebP (the best format), compress the image as much as possible without affecting the quality too much.
You may find it useful to save an image with two or three different compression/quality settings and then look at them afterwards to see which is the best compromise.