No, you don't need to catch them in the act. While it might make for compelling evidence, other factors like text messages, hotel receipts, or even their own admission can be sufficient to prove adultery.