I have seen this question on the Judaism.StackExchange: What is the appropriate response of someone outside Israel during a war?
Jewish people living outside Israel feel responsibility to help the cruel regime that fired the war unfairly and very far from basics of humanity. Muslims can also ask the same question, to be at least a Muslim, as prophet Muhammad (PBUH) said:
مَن اَصبَحَ وَ لَم یَهتَمَ بامُورالمُسلِمین فَلَیسَ بمُسلِم
The one who does not care the Muslims affairs is not a Muslim
So I want to make the same question: What is the appropriate response of someone outside a Muslim country during a war? Please verify both cases of Muslims being attacked by non-Muslims (like the case of Palastine or Myanmar) or a war between two Muslim countries.