Put the cork back in, it should be good for about 24 hours.
It is the air getting in that makes it go bad. I have a little pump to pump out the air in an open bottle of wine, and then it also acts as the cork, and it keeps the wine good for several days. It is a good investment if you are a wine drinker, it is under $10.