Wi-fi
So my phone, iphone 13, shut off randomly in the middle of class yesterday and it just went black and had a little loading circle on it but the circle was frozen. Then I took it home and let it die because that is what my friends told me to do and while it was dying I switched sim cards of this phone to my old other phone, iphone XR. I used it for the day but had no internet at school but I do have internet only if I’m connected to wi-fi. I got home from school and changed my sim card back to this phone and it only works when connected to wi-fi. What am I supposed to do to get it to work while in my car driving or in the middle of the highway?
iPhone 13, iOS 16