If you're using a physical SIM and an eSIM:


Adjust settings under Calling:

You can choose a preferred SIM to use for messages. When you do, you'll see it as the default in the text field of the Messages app 
To send a message from your other SIM, in the Messages app 

Choose how you want to handle mobile data if your preferred SIM can’t connect:

