No way to tell. The cork could have only exterior surface mold and the wine would be fine. Or, it's a defective cork and the wine is trash. You have to open it to be sure. Call the liquor store where you bought it and see if they'll replace a bottle that's been "corked" after it's been opened. If they will, open it and see. If they won't, take it back before opening it.