Depends on how short my stack is and what position I'm in. You'd definitely want to take the coin flip if you're short stack (20bb or less) from a late position and you get a good starting hand like pairs, premium
hands, some suited connectors etc. Early position I'd be more conservative. You certainly don't want something like a 3 way or 4 way pot when your tournament life is on the line. If there's other short stacks at the table they might yolo after you and then have you beat.
If my stack is big I would probably only all-in if I knew I had the best possible hand post flop or maybe call someone's all in preflop if I had them covered by a lot and was given a decent calling hand.
Not a poker expert, just my 2 cents.