Strange question.
It all depends on the situation. You need to consider many components, the format of the tournament, the size of the stack, the position at the table. There is no single specific answer to your question. Scenarios will always be different.
there are no lost patterns of how to play in such a situation. There are many factors that affect how this is played out. If you don't know it yet, I suggest reading about it before starting the game. In this forum you can learn and learn a lot.