Was pregnant a couple of months ago, and was sober

Was pregnant a couple of months ago, and was sober. The baby was ectopic and I had surgery and went back to drink wine everyday. HELP.