The official website for The Settlers of Catan

Question about The Cards Spy - Can I immediately use a card that I stole with the help of the Spy?

Answer

Yes, provided that you don’t violate some other rule.