You will need to purchase a 15 days U.S. Roaming bundle for you to call and text when you connect to T-Mobile or AT&T network on your phone. You need to disable Airplane mode and enable cellular roaming.
You can also download the TextNow app and pick a secondary number to get free calling and texting through WiFi.
Or if you are WhatsApp, you can call or text through WiFi too.
I personally use the TextNow SIM while in the USA.