As the previous poster says, it depends on what you want to do. If you wish to find matches here, you must use Ancestry's test. If you wish to find matches on 23andMe, you must use their test.
Either test can be downloaded and then uploaded to Family Tree DNA or you can buy their test.
Ancestry does not permit uploading a test taken in any other service.