Exhale on exertion.
For example, when you are pushing a bench press off your chest, you exhale on the push and inhale as you bring it slowly to your chest.
When you are doing a pullup, you exhale on the pulling up motion and inhale on the way down.
Never hold your breath. Muscles need oxygen to work hard.