I can’t enter the control panel of my wordpress site after channing the URL to https://

If you have access to the database (for example, using phpMyAdmin), you can change the values in table “wp_options” — the fields are near the top… “site_url” and “home”

You can also set this in the wp-config.php file.

define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );

https://wordpress.org/support/article/changing-the-site-url/