HearthStone automatically reconnects after the internet connection is restored. If you have a good internet connection and it is not reconnecting, try to relaunch the game and see if it has fixed the issue.