Forcing your cat to swallow something they don't find appetizing is not easy, especially when they don't feel well. So it's not recommend to force your cat to eat a pill if you don't have to.
Check with your local pet store for Pill Pockets for cats, a specially designed treats that you can insert the pill into a sleeve like treat that your cat will find appealing. If the pill can be cut up, try cutting it into smaller pieces and then adding it in with wet or dry cat food.