Welcome to the world of recorder playing. As for your problem;
For condensation, take care to warm the head of the recorder before playing. For the larger recorders and wooden ones this can take twenty minutes in your armpit or longer in a pocket.
Once the recorder is clogged you can either suck the moisture back out of it, or blow hard while covering the window with your hand (so you don’t make an awful loud noise). This latter method is absolutely fine for a plastic resin recorder, but if you do it on a wooden one you need to avoid touching the window area, especially the sharp edge of the labium/’ramp’ at all costs.
If your recorder is wooden and new (or old, but hasn’t been played for a long time), take care to observe the manufacturers instructions for playing in and stop playing for the day when the instrument starts to sound hoarse.
Descant and treble recorders.