When to pull tummy in?

Hello Yoga Friends!

When it comes to asanas, is there a general rule on when to suck the tummy in, tighten the abdominal muscles, and when to release and just relax them? Such as: tighten in forward folds, release in back bends? Or there is no such generalization?

Many thaks x x