The Nikon D500 needs camera raw 9.5
If you have Photoshop CC then you can update camera raw to 9.10 that is nine.ten and you should be OK
If you have Photoshop CS6 then the latest compatible camera raw is 9.1.1 that is nine.one.one which is not compatible with your camera
In that case you will need to use the free DNG convertor and convert your files to DNG and then open them in camera raw.
If you have Photoshop CS% or earlier - the same advice on DNG convertor applies.
Thanks for your quick response yes I only have CS6 at the moment but will be upgrading CC so how do I get the DNG converter for now
You can download the DNG convertor here
You use it to covert a batch of raw files after which you can open the resulting DNG files in your version of camera raw.