For example, in a scene where a character is being chased by a villain, the villain might yell, "Get out of here!" to try and force the character to leave. Or, in a scene where a character is about to make a big decision, they might say, "I need to get out of here," to express their desire to escape from the situation.
"Get out" can also be used figuratively to mean "leave a situation or relationship that is no longer healthy or beneficial." For example, a character might decide to "get out" of a toxic relationship or a job that is making them unhappy.