LMAO, I had a friend do this several months ago. No big deal. First remove the top cork. Next see if you have a cork remover that will reach the second one. If not then just push it all the way in and empty the bottle and rebottle the wine.
If you don't know how to remove a cork that has been pushed into the bottle do a search on you tube for removing cork from wine bottle with plastic bag. It's a great trick you repeat many times at parties.