Color shift when import a photo

Sorry I don’t really understand. So if I want to process raw in darktable it converts the photo to jpeg? I mean the preview? But how will I get back to the original image look?