Vibration can be set in the sound settings by selecting Vibrate.
To really test that it is working, you may dial *#0*# and select Vibration.
The phone must vibrate. If not, then it is a hardware issue that can be fixed at Samsung Repair Centers.
You may check the nearest one here: https://www.samsung.com/ae/support/service-center/