There is no way for your contract to automatically take some action, in response to its token balance changing.
Some reasonable approaches:
- If your contract needs to limit other actions until its token balance changes, then include a restriction at the beginning of those actions that confirms the balance change
- Run a server that watches the blockchain for token balance events and calls into your contract on a change.
- Write a world-callable function that will query the token balance, and update its internal state as appropriate. Whoever has some intrinsic motivation for your contract to be updated can call that function when appropriate.
Which solution is best depends on the details of what you're building.