This question already has an answer here:
- “Try to save” or “try saving” 2 answers
What is the difference between I haven't tried to go there and I haven't tried going there?
In one of these (I haven't tried to go there), you're using the word "try" in the sense of "attempt", like "I tried to tell him, but he wouldn't listen".
In another (I haven't tried going there), you're using it in the sense of "experiment", like "I tried these shoes on".
Well, the difference is that, while both are heard, "I haven't tried to do that" is correct English, and the other variant is substandard, but sometimes found in informal English. (Note: it is useless to ask an American any question about English grammar, as they only recognise the slang register of English owing to deficiencies in the education system in the US.)