If you're sure you want to know my answer, I'll tell ya. You ain't gonna like it.
In a magical world where I was president of the United States, I'd call Prime Minister Tayyip Erdogan and tell him to f-off. I'd immediately pull every piece of our equipment and every soldier on their soil out. Inform him that this was happening as I speak. I would tell him that if one of his troops entered Iraq I would blast his country to hell. Tell him to go ask if Assad, or imanutjob over in Iran would come to his aid. And before I hung up on his ass I'd add, his days of being on the American taxpayers gravy train has pulled into the station.
But, that's just me.
Okay. Then what would you do with Syria, Iran, Saudi Arabia and Pakistan? Each of these has been problematic in their own right.