Help cant send or recieve text

I've had my phone for 3 months, until yesterday it was working fine.
I started having problems sending and receiving pictures. I did a factory reset and now cant send or receive texts at all. I'm so confused can someone help please. I'm on t mobile. thanks