If any member is attacked, every other member has to come to their aid.
They don't have to. It stipulates that a war on one member is viewed as a declaration of war on all members. But there's no protocol that forces members to act.
For example when the Cypriot war broke out between Greece and Turkey, both NATO members.