There are many comedic styles, and it's a good idea to pick yours and stick with it. Base the direction you choose on your strengths, your audience and the piece you are performing. Some comedic styles include farce, which includes high-energy and improbable scenes; imbroglio, which is often called a comedy of errors; black comedy, which is usually social commentary made in a dark but funny way; and pantomime, which is designed for children. Study the type of comedy you are going for, watch renowned experts of the style and use what you learn to shape your performance.
If you are performing, auditioning or trying your hand at an open mike comedy club, practice your material ahead of time. Record a video of yourself and watch the footage to see what you think of your performance and the way you move your body. Also, you can ask to try your material out on your friends before the big performance. Notice when your material gets laughs and when you are greeted with silence, and look for ways to change your performance or material to bring some constant laughter.
Make sure your comedy is appropriate for the audience that's coming to see you. For example, if you are playing in front of a high school crowd, do not include dated cultural references that may be too old for the audience. Also, do not make fun of the people you are performing for, instead find ways to joke that will make them feel like you're on their side. If you're unsure of a joke, feel out the crowd and skip it if they're not warming up to you. Putting someone in a defensive or uncomfortable state makes it hard for them to relax and laugh.
Trying to by funny or anticipating an upcoming joke can kill even the best moment on stage. If possible, study your lines ahead of time so you can perform them without thinking about it. Once you're on stage, focus on the moment you're in and try to forget that a big line or stunt is coming up. Also, listen to what is happening around you when you are on stage. This is important in stand up performances and theatrical shows. For example, listen to the audience and let them react without talking over their laughter.