Why? So far Russia invaded only neighbors which weren't in NATO, so apparently joining NATO was (and still is) right way to protect your country from Russian aggression.
I suppose that means Ukraine and Georgia should try to join NATO. Then Russians won't invade them anymore.