You should set your file format and size first so that all your photos have the desired quality.
RAW files provide uncompressed and unprocessed image data, letting photographers to collect almost every detail of the image which photographers can successively edit, resize, and convert into other forms.
JPEG is a shorthand for “Joint Photographic Experts Group.” It is a standardized format for storing images that may be both lossy and compressed without losing quality. JPEG photos keep a quality that is acceptable, despite the huge reduction in file size. The majority of digital cameras provide you the option to select the size of the jpeg file that you want to save: large, medium, or small. You can always make large photos smaller; it’s more difficult to do the opposite.
There are a lot of cameras out there that let you shoot in both RAW and JPEG formats at the same time. You can use the JPEG files as a quick preview, and then switch over to using the RAW files for editing. Keep in mind that you have to have enough place on your memory card for using both formats.