After the divorce, the ex-wife has been quarreling. Is there any legal way to solve it?

Legally speaking, after divorce, you have nothing to do with your ex-wife. If she comes to your house to disturb the normal life order, you can call the police and the police will deal with it according to law. If the other party still refuses to listen after mediation by the police, he will be detained in public security or sentenced to punishment.

Article 40 of the Law on Public Security Administration Punishment commits one of the following acts, and shall be detained for more than 10 and less than 15, and shall be fined for more than 500 yuan 1000 yuan; If the circumstances are relatively minor, they shall be detained for more than five days and less than ten days, and shall be fined between two hundred yuan and five hundred yuan:

(3) illegally breaking into another person's house or illegally searching another person's body.

In criminal law, the crime of trespassing refers to the act of entering a citizen's house against the wishes of the members of the house or without legal basis, or refusing to quit after being asked. Whoever commits this crime shall be sentenced to fixed-term imprisonment of not more than three years or criminal detention.