Hello gadallah527,
Welcome to Apple Support Communities!
We understand that you're unable to connect to Wi-Fi or your Cellular data service on your iPhone Pro Max. We're happy to help!
Follow the steps in the article below for help with the cell service on your phone.
If you see No Service or Searching on your iPhone or iPad
We also recommend checking to see if there is a carrier update that needs to be installed.
Update your carrier settings on your iPhone or iPad
You may also want to contact your wireless carrier to see if anything is happening on their end.
For Wi-FI connectivity follow the steps provided in this article:
If your iPhone, iPad, or iPod touch won’t connect to a Wi-Fi network
Let us know if you have any questions.
Thank you for using Apple Support Communities.
Take care!