You will not be able to fix this. The phone will have to be replaced. There is a warranty recall for this problem by Apple. If you're interested, the problem stems from a design flaw in the iPhone board layout where the exact same flexion-damage that caused the iphone 6 plus touch disease epidemic pulls at the baseband power management chip in the iPhone 7. The result is that over time these phones develop an internal short circuit within the qualcomm baseband CPU---the "brain" of the cellular service system in the phone. Since the Qualcomm CPU is unique to each phone, it can't be replaced by your local iPhone logic board repair shop. Apple does not do logic board repairs at all, so their only option is to replace the entire phone. The good news is that unlike the iPhone 6 plus touch disease, this time Apple was very quick to acknowledge this rampant issue and started a recall months ago for this problem.
Doing any further carrier updates, software updates, changing SIMs etc is a waste of time. The exclamation point in the triangle is always associated with the baseband CPU fault which is a hardware problem on the logic board.