Handle it in stages.
  1. Bob and weave like a drunken prize fighter.
    Extra points for additional arm flailing.
  2. Make a noise somewhere between this: "Gggghhheeeeehhhhggg" and this: "Yeeeeaaaaaoooooowww."
    But definitely not this: "Pffft."
  3. Scan for where it landed by turning your head wildly from side to side and letting your eyes dart around nervously.
    This would also be the stage to frantically rumple your hair in case it has alighted there.
  4. Run away.
    If the bug is keeping you from getting inside your apartment, you will have to move.