I was trying to state that if I were to post process in RAW then export it to share on social media sites what file would you recommend to use for best quality?
A Raw file isn't even a picture yet. It's just the information that is used to create a picture. So when you process a raw file, you are rendering that information into an actual image file. When you export it, you choose which type of image file you want to create.
JPEG is the most common type of digital image file, and this is what you should use.
The process of creating or saving a jpeg file, was designed to make the file size smaller. So when you save an image as jpeg, the software throws out what it doesn't need and then compresses the information. The result is a lower quality file, but a much smaller file size. The lower quality usually isn't visible to use, unless you set the compression really high (quality low).
However, the thing to avoid is saving a jpeg, then heavily editing your photo and/or saving it over and over again. If you are going to further edit your photo, save it in a better format like TIFF or PSD, then only save to JPEG as your last step.
Also, when you upload to social media (or anywhere really), you probably want to get the file size down, to make it easier to upload and download. Saving as a jpeg is key, but there is also the size (in pixels) and the jpeg compression. You can reduce the size and set the compression higher (quality lower) to really make the image file much smaller.