You can't stop your wife from getting a divorce but you can have a contested divorce. This essentially means that you and your wife have disagreements regarding issues such as child custody/support and property settlements. Check with the court where your wife filed for divorce and see if they offer some kind of counseling and/or mediation. However, if your wife refuses counseling, the divorce can proceed.