Install an eSIM
Install the profile on Wi-Fi, then turn the line on when you arrive. The steps depend on the phone.
Install on Wi-Fi before you travel when you can. Keep the QR code until the plan has expired. Turning the line on is separate from installing the profile.