I think Turkey should leave NATO after acquiring nuclar weapons, but don't join any alliance either, stay neutral.
Why we should leave NATO? Because the west don't treat us fairly and friendly, they do everything in their power to sabotage our rise. They are friendly with PKK, they are friendly with FETÖ, they are hostile to Turkey. They don't want a independent Turkey who rises and expands, pursues its interests. What they want is a lapdog. No sir, Turkey is too big for that.
Why we should declare that Turkey will stay neutral? If we join any alliance, the west will be even more hostile to Turkey, would treat Turkey like a main threat, as they treat Russia. Besides Turkey is militarily strong enough, no easy meal for anyone, we can do fine without joining any alliance. Turkey should leave NATO and make this statement: "Turkey will be a neutral country, we won't get involved in any side's conflicts, we will mind our own business, pursue only our own interests. Turkey wants good relations with everyone, whether east or west. Turkey won't be threat to any side." That way we would ensure to all sides that Turkey is not a threat to anyone. Acting hostile to west after leaving NATO would further destroy our economy, we shouldn't even consider doing that and truely stay neutral and try to have good relations with all sides, especially the west.
Russian aggression is Europe's problem, not ours. It would be stupid to enter a war for the west, who hates Turkey and treats us like shit. Don't worry about Russian threat to Turkey, after leaving NATO Russia would be even more friendly with Turkey. Besides Turkey is not a country Russia can invade, not without a huge cost that it would be madness to even consider invading Turkey.