Your iPhone may not ring if it's set to Silent, having custom ringtone issues, or is in Do Not Disturb or Focus mode.
If you're not receiving text messages on your iPhone, there are several ways to fix your problem. Here's everything you need ...