Which phone?
Which version of android?
Which carrier?
Which SMS app?
In the phone settings:
make sure you have the sound mode set to "sound", not vibrate-only nor silent.
make sure you have a default notification sound picked.
make sure the notification volume is turned up high enough.
make sure do-not-disturb mode is turned off.
In the SMS app settings, check the notification options.