Not too long ago, my answer would've been: It is right to fight back against anyone to defend self and others.
I wonder about the first century Christians. Some were slaves of ruthless owners.
The inspired apostle Peter writes: Servants (slaves), be submissive to your masters with all fear, not only to the good and gentle, but also to the harsh. 1 Peter 2.18.
What about an attack, from a harsh master, what then?
Verse 20 ...But when you do and suffer for it, if you take it patiently, this is commendable before God.
And Jesus, our Example: For this you were called, because Christ also suffered for us, leaving us an example, that you should follow His steps. Who committed no sin, Nor was guile found in His mouth, who, when He was reviled, did not revile in return, when He suffered, He did not threaten, but committed Himself to Him who judges righteously. Verse 24.
In all this Peter attaches the patience he explains and urges the saints to practice to that to which they called. Called to suffer, to be patient, to endure. Verse 21.
I don't want to change the subject or go beyond the OP, but the issue of who is the attacker is for me an important concern. Again, Peter writes: Therefore submit yourselves to every ordinance of man for the Lord's sake, whether to the king as supreme, or to governors...for this is the will of God, that by doing good you may put to silence the ignorance of foolish men. Verses 13-15.
What if the attacker is the state? Do we take up arms and fight for our "rights" our freedom?
Our physical life is temporal. It will end regardless of how many battles we fight and win.
Jesus didn't fight. He's my example.
But what bothers me is I don't see how that can fit in with my responsibility, my desire as a husband, Paul the apostle writes: Husbands love your wives, even also as Christ loved the church and gave Himself for it. Ephesians 5.25.
There is no love in a husband toward his wife who won't defend her. Is there?
I just have to put all this together. It's not an easy question to answer.