Your chosen new energy supplier will contact your old supplier and arrange the switch for you. You will given a date when the switch is taking place by your new supplier and asked for meter readings.
You will need to cancel the direct debit to the old supplier yourself with your bank.