When my cat broke his leg, we had to give him pills twice a day for a couple of months, so I've prefected my cat-pill-giving technique. Smear a little butter / margerine on the pill to make it slippery and put a little bit of margerine on your little finger. Get the cat into a suitable non-flailing position, put the margerine from your finger onto the cat's nose and mouth, the cat will start licking its lips giving you enough chance to pop the pill in, and because it's coated in margerine the cat doesn't cough it back up.