We would do what is necessary to be done instantly when required, Erdogan said in an interview on Thursday on a television station.
Erdogan said that that captured members of the terrorist group the PKK had been found to be carrying weapons made by the US and that Ankara was closely looking into allegations that the US provided the organisation with arms.
If the US was not prepared to carry out the duty required of it to combat the PKK then Ankara would have to do what was necessary, he said.
Turkey had always worked to combat terrorism and had served as a strategic ally for the US in the war on terror, said Erdogan.
Afghanistan is the biggest example of this, he said. It is not right to adopt an approach discriminating as my terrorist is bad, your terrorist is good. All terrorists are bad. And we need to form a joint platform for combat against this. We have situated ourselves against terror wherever it is encountered, because we suffer from it.
The number of martyrs we have given to terror has exceeded 15,000. Just as how you have alarmed the world when the twin towers were hit, you should show the same participation and cooperation in this now. If you do not fulfil your responsibilities in this, we will have to do whatever it takes. And that whatever is obvious.