Literal expression means to tear someone a new butt-hole, figuratively means to verbally or physical abuse or criticize someone thoroughly so that they feel destroyed.
I madea joke about her butt looking big, and she ripped me a new one.
literally rip someone a new asshole.
in use can be verbal abuse or a threat to actual physical harm or in some circles could be quite literal
see prison pussy
you betterstop lookin at my girfriend before i have to tear you a new one