Is this a Lightroom question?
Explain what happens in more detail. Lots and lots of detail. If there is an error message, please quote the exact complete unedited word-for-word error message.
Also please state the EXACT version number of Lightroom you are using, and the exact make and model of the camera.
I have windows 8.1 and when I take pictures in RAW I am not able to view. Need help.
You need a program that can read the RAW image files from your camera. Do you have such a program like Adobe Lightroom or Photoshop with Adobe camera RAW?
If you have Lightroom it might be an older version that does not support your newer camera. If that is the case then you can use the Free Adobe DNG converter program to convert the native RAW files from your camera to DNG files that LR can read.