One possibility is that you have an
eating disorder. In which case taking help from a doctor specialized in treating eating disorders will help. There are many other causes like worms in stool, depression, anorexia nervosa, AIDS, cancers especially colon cancers, drug abuse, infections and loss of appetite. Loss of appetite can again be due to certain medications, drug abuse, depression, AIDS, acute and chronic infections, cancers and hypothyroidism.