The best course of action depends on the nature of your problems and the status of your project. If you discover issues early on, it may be best to terminate your contract and look for another partner. If you’re already in the middle of the project, contact your partner to discuss your problems and seek potential solutions.
The vendor could swap some or all members of your technical team, assign a new project manager, or suggest other organizational solutions. Unfortunately, in some cases, you might need legal assistance to sue your outsourcing partner to reimburse your losses and start from scratch with another vendor, so be ready for this scenario too.