I understand that you got a new SIM card, and while troubleshooting iMessage and FaceTime, you are now unable to sign in to either. I'm happy to provide some help for this issue.
I recommend going through the troubleshooting for this issue provided here:
If you get an error when trying to activate iMessage or FaceTime
Thanks for using the Apple Support Communities. Cheers!