Since 2002, the so-called Protection against violence act. In this way, the legislator wanted to offer citizens the possibility of legal protection under civil law against acts of violence and stalking.
§ 1, 2 GewSchG, §§ 823, 1004 BGB
The courts have many options at their disposal to take action against the perpetrators and protect the victims. For example, the perpetrators can be prohibited from entering the victim's home or even approaching them (prohibition of approach).
In violence protection proceedings, there is the possibility of Legal aid. I will be happy to check for you whether your costs will be covered.