There are various ways to defeat it. There are various types of moves and Pokemon, and doesn't have a certain Pokemon who is particularly good against it. But, since your question is just about Ambipom, Ambipom can defeat it, but using using special moves can be a bit difficult, depending on the level. Giving Ambipom Ice Punch or Thunder Punch, however, works very well for this Pokemon in particular, if you can have access to them in your game.
If not, you can use many other strategies and Pokemon who works very well, even Ambipom with another strategy.