You will still continue to receive gas or electricity even if your energy supplier goes bust.
Ofgem will move your account to a new supplier but it may take a few weeks. Your new supplier should then contact you to explain what is happening with your account
While you wait to hear from your new supplier: check your current balance and - if possible - download any bills; take a photo of your meter reading
If you pay by direct debit, there is no need...