You have to examine a scene on the page first. Then you get into the basics of acting: Who are you? Who are you talking to? How do you feel about that person?
Almost every comedy you see is about people making all wrong choices and making all the errors of judgement possible. Good comedy is when it works on this scale. Because it is psychologically very real.