Hi. Download firmware from Sammobile website relevant to your country and phone spec. Download Odin and flash.
Alternatively you can try Kies recovery. Enter your phone details as requested before connecting via USb. Once you see the update that is available for download connect your phone...