Always use a good quality wine when cooking and not “cooking wine”. Be sure to taste some of the wine before you use it. If it’s not fit to drink, it’s not fit to cook with, either.
Cooking wine is usually a poor quality wine, with a lot of salt added to it, to prevent anyone from being able to drink it. It’s the reason why most supermarkets can sell it, without a liquor license, even to children, without violating any laws. It’s that horrible! Don’t buy it!
If you decide you would rather not use wine in a recipe that calls for it, or you just don’t have any on hand, you can usually substitute a fruit juice in its place. Just remember to use a bit less, since it won’t evaporate as much as wine, due to not having any alcohol in it. A good rule of thumb is to replace red wines with cranberry juice and white wines with apple juice.