If your pet is acting sick and not wanting to eat, the safest thing is to take your pet to your veterinarian and allow them to evaluate your pet for an underlying cause. It is important not to overlook this important symptom of a problem.
There are pets with diagnosed problems that just don't feel well and want to eat. For these pets, there are several things you can try. If your pet does not have interest in his everyday food, you can try offering something special. Sick pets may reach the point where some form of nutrition (within reason) is better than no nutrition.
Often offering a pet a small amount of a new food will stimulate their appetite and encourage them to eat. Consider your pet's illness before selecting the foods. For example, if your pet has been nauseous, offer bland foods. Avoid rich or fatty food and table scraps if possible. For diet recommendations for your pets particular problem, check with your veterinarian.
To encourage your pet to eat, begin by offering healthier choices, such as a quality, canned or semi-moist pet food, a carrot stick, boiled chicken or hamburger, tuna, etc. Meat-flavored baby food is a tasty, bland food that is good to entice a pet's appetite. Do NOT feed only baby food as a primary nutrient source, as it does not contain enough calories to sustain your pet.
If healthier food choices are not working, you can try some pet "junk" food. Peanut butter (for dogs), pet snacks, lower-quality canned food (which is usually more palatable), sandwich meat, etc. are some possible choices. Small amounts of cat food can be very enticing to dogs, as it has more protein than dog food. Do not feed large amounts of fatty foods, as this can lead to other health problems, such as pancreatitis.