This is a question that deserves an in-depth answer and that you should research. Google your question and you'll find a wealth of information about the differences between the two formats. It will be the best way for you to learn which format works best for your needs.
Hope I'm answering the right question, but it depends on how you will use the image. Raw are large with more data and whats called "Lossless" when you edit you dont degrade the image. JPEG is "lossy" or you can lose some of the detail when manipulating. You can shoot in both but need more memory. Hope that helps