Experienced and professional animal trainer provide their insights in answering this question :
A. The maggots shouldn’t cause problems just maybe an upset stomach for a while
But if the treats were rotten then this can cause them to be very ill. If so I would see your vet.

How to Identify Common Pet Problems ?

Our sources include academic articles, blog posts, and personal essays from experienced pet care professionals :

With time, the maggots can start releasing toxins that can make your pet sick very quickly, leading to fever, lethargy and shock. So if you find maggots on your pet, get them to a vet immediately, where they will be able to clip and clean the underlying cause and remove the maggots.
Maggot wounds are very common. The good news is that unless a large part of the dog`s body or organs have been eaten away they are very easy to heal. Unfortunately, any number of `home` treatments complicate situations for dogs whereas actual treatment is straightforward and usually requires no hospitalization.
Dogs who spend time in grassy areas, where there are high populations of rabbits or rodents, are also more likely to have maggots, since that`s where botflies—the most common source of the disease—thrive. However, indoor dogs can develop myiasis as well, because the larvae can be transferred from an infected dog`s fur.
Accidentally ingesting maggots does not generally cause any lasting harm. However, if a person has ingested maggots through eating spoiled food, they may be at risk of food poisoning. Symptoms of food poisoning can range from very mild to serious, and they can sometimes last for several days.
Eating maggots or maggot-infested food can cause bacterial poisoning. Most foods that have maggots aren`t safe to eat, especially if the larvae have been in contact with feces.
Pour hydrogen peroxide directly and pick out the maggots by hand. Once you`ve removed the maggots visible on the top, stuff the wound site with cotton wool. This will suffocate and kill the remaining maggots if any.
Nitenpyram 1 mg/kg PO administered every 24 hours may be effective against maggots. 4. A pyrethrin- or pyrethroid-containing spray (dogs only) should be judiciously applied to lesions to kill remaining maggots. Too vigorous an application could kill a debilitated animal.
Pantry moths are attracted to dog food and other dry pet food because their eggs can be hidden easily. As soon as the moth eggs hatch into larvae, their feeding stage, the scavengers are right where they need to be – close to a food source. Noticing an infested bag of pet food may be difficult.
Symptoms of Myiasis (Maggots) in Dogs

Sometimes the dog`s fur obscures the wound, particularly with long, matted fur. Miniscule sticky, white eggs can often be found on the fur of the afflicted animal.

Maggots live on dead tissue, so they cannot live inside a dog. However, intestinal worms like roundworms and tapeworms are similar to maggots. They can live in your dog`s intestines, occasionally being seen in their feces.
How soon after infection will symptoms appear? Abdominal symptoms can occur 1–2 days after infection. Further symptoms usually start 2–8 weeks after eating contaminated meat. Symptoms may range from very mild to severe and relate to the number of infectious worms consumed in meat.
Maggots are commonly found in areas where there is rotting food, organic material, or decaying matter and filth. In kitchens, they can be found in pantries in spoiled food, pet food, on rotting fruit or produce that has been laid out.
As soon as the eggs start hatching, they turn into larvae. Since the food source is readily available right away, these larvae can feed easily on the abundant kibble feast. The same concept applies to maggots, beetles, and other insects commonly found infesting dog food.
Lack of food: Because they have various dietary options, maggots frequently live and reach the pupation stage. However, maggots must consume as much food as possible to store energy before transforming into a pupa and then into an adult fly. They can only survive for two to three days without food or water.
Vinegar. If you want to try a more natural method, try a solution of one part vinegar with three parts boiling water. This solution will kill the live maggots and will also remove the fly-attracting odors from your trash can, temporarily preventing them from laying eggs.
Boiling water

One of the easiest methods for killing maggots is to simply pour a kettle full of boiling water over the maggot infestation, as this will kill them instantly. Then, you can drain off the water — if you`ve found maggots in your trash can, for example — and clean the area effectively.

So the secondary flies, like the Flesh Fly and the Common House Fly, move in to lay eggs and repeat the cycle. In two weeks the animal is dead, literally having been eaten alive by flies. A maggot wound is easily identifiable. A hole of any sort, a characteristic smell.
Parasitic infections such as Lung worm, round worm and hookworm – Larvae of these intestinal parasites can trigger coughing (known as a verminous cough) when they migrate from the intestine (guts) into the respiratory tract of the dog.
At first, people have a small red bump that may resemble a common insect bite or the beginning of a pimple (furuncle). Later, the bump enlarges, and a small opening may be visible at the center. The opening may drain clear, yellowish fluid, and sometimes a small portion of the end of the larva is visible.
An alternative treatment for all types of myiasis is oral ivermectin or topical ivermectin (1% solution), proven especially helpful with oral and orbital myiasis.
Maggots in dog poop are usually a sign of worms rather than actual maggots. Maggots in dog poop are normal if the feces have been on the ground for some time, but picking up the poop more frequently can help prevent their appearance.
In many cases, the “worms” you see are the larvae of a few common household pantry pests. The most common insects found in dry dog food include Indian Meal Moths, red-legged ham beetles, copper beetles, flour weevils, Sawtooth grain weevils, warehouse beetles, and drugstore beetles.
The most common molds found in dry dog food are aspergillus or alternaria (read more below), and any food that has been infected should be discarded. Mold can quickly, and easily, spread and infect dry dog food.

Relevant Questions and Answers :

the most relevant questions and answers related to your specific issue

Q. Whenever I take my dog on walks he always barks at people and others dogs in my neighborhood. What should I do to resolve the problem
ANSWER : A. The very first thing to do is to make sure your dog is getting sufficient physical and mental exercise every day. A tired dog is a good, happy dog and one who is less likely to bark from boredom or frustration. Depending on his breed, age, and health, your dog may require several long walks as well as a good game of chasing the ball and playing with some interactive toys.

Figure out what he gets out of barking and remove it. Don’t give your dog the opportunity to continue the barking behavior.

Ignore your dog’s barking for as long as it takes him to stop. That means don’t give him attention at all while he’s barking. Your attention only rewards him for being noisy. Don’t talk to, don’t touch, or even look at him. When he finally quiets, even to take a breath, reward him with a treat. To be successful with this method, you must wait as long as it takes for him to stop barking. Yelling at him is the equivalent of barking with him.

Get your dog accustomed to whatever causes him to bark. Start with whatever makes him bark at a distance. It must be far enough away that he doesn’t bark when he sees it. Feed him lots of good treats. Move the stimulus a little closer (perhaps as little as a few inches or a few feet to start) and feed treats. If the stimulus moves out of sight, stop giving your dog treats. You want your dog to learn that the appearance of the stimulus leads to good things.

Teach your dog the ‘quiet’ command. Oddly, the first step is to teach your dog to bark on command. Give your dog the command to “speak,” wait for him to bark two or three times, and then stick a tasty treat in front of his nose. When he stops barking to sniff the treat, praise him and give him the treat. Repeat until he starts barking as soon as you say “speak.” Once your dog can reliably bark on command, teach him the “quiet” command. In a calm environment with no distractions, tell him to “speak.” When he starts barking, say “quiet” and stick a treat in front of his nose. Praise him for being quiet and give him the treat.

As in all training, always end training on a good note, even if it is just for obeying something very simple, like the ‘sit’ command. If you dog regresses in training, go back to the last thing he did successfully and reinforce that before moving on again. Keep sessions short, 15-20 minutes max, and do this several times a day.

Q. How do I determine how much my overweight pet should weigh?
ANSWER : A. There are many tools to determine overweight and obesity levels in pets. A new tool, morphometric measurements and body fat index, are available to accurately determine a pet’s ideal weight; this will allow an accurate determination of the amount of food a pet should receive to achieve weight loss. Feeding the correct amount will lead to greater weight loss success.

There are many weight loss food options to help pets reach their ideal weight. Your veterinarian can help make a ideal weight recommendation. Here are some tips to help your dog lose weight in a healthy and safe way:

1. Diet: Providing a healthy and well balanced diet is essential to your pet’s overall health. Finding the right food for your dog can be a challenging process. For those overweight animals many commercial dog companies offer weight loss diets, but it is important to evaluate food labels for adequate nutritional content.

You want to ensure you are not missing other essential vitamin or mineral content. Volume of food is also important and the amount of food that works for one breed of dog may not be the same for another breed of dog. Portion control as opposed to free-choice feeding can help your dog to drop a few unnecessary pounds.

There are also prescription weight loss foods designed by veterinary nutritionists, such as Hill’s r/d (http://bit.ly/1AoENSd). Some pet owners find that home cooking is the best option for helping to provide a well-balanced and realistic diet plan. There are websites such as balanceit.com that offers recipes to fit your dog’s specific needs. Consulting with your veterinarian or a veterinary nutritionist to find the appropriate diet is a great way to help your dog be as healthy as possible.

2. Exercise: Another great tactic for weight loss for your dog is exercise. Whether this is through running, walking or playing with a favorite toy all of these are wonderful types of exercise to help keep your dog at a lean and healthy weight.

For those pet owners with busy schedules utilizing professional dog walking services or playtime through dog daycare services is another option. It has been shown that those pet owners that exercise regularly with their pets generally live a healthier lifestyle.

3. Physical therapy: As animals age pet owners offer encounter their favorite canine having more difficulty walking and have a dwindling desire to play with toys. Physical therapy, specifically hydrotherapy is a wonderful way to help older and arthritic animals gain more mobility and lose weight. Hydrotherapy has been proven to have several therapeutic effects on the body including, muscle strengthening, relief of swelling, decreased joint pain, less stiffness in limbs, improved circulation, weight loss, and increased tissue healing to name a few. For more information on the benefits of hydrotherapy:
http://bit.ly/1w1qqoy

4. Veterinary visit and blood work: Weight gain can also be related to underlying health concerns such as hypothyroidism or other endocrine disorders. Scheduling a veterinary evaluation and routine blood work can be another important component in increasing the longevity of your dog’s life. Conditions such as hypothyroidism that predispose dogs to gain weight can be treated with a daily medication to improve hormonal balance. If feel that your dog is unnecessarily overweight there can be an underlying health condition that needs to be addressed.

5. Healthy treats: Pet owners love the chance to reward their favorite canine companion with treats and most dogs jump at the chance to consume these delicious products. The problem is many treats, which can include commercial dog treats or table scrapes can add many unnecessary calories to your dog’s daily intake. Reading labels and making note of the calories in these treats is an important component of understanding your dog’s overall health. Treats should not exceed more than 10 percent of your pet’s daily calories. There are healthier treats that can be offered to your pet to keep calories lower yet provide a fuller sensation. A pet owner can add steamed or pureed vegetables, such as carrots, green beans or sweet potato to add more fiber and thus a fuller feeling for your dog.

Q. Why does my dog eat grass?
ANSWER : A. As another user mentioned, dogs can eat grass when they want to vomit. Sometimes, when a dog has an upset tummy, they will eat grass. If you notice your dog eating grass frantically, you can assume vomiting will shortly follow. Grass does not digest and pass normally. If your dog eats too much grass, it can cause serious issues with pooping. Your dogs poop can end up all tangled inside of her, and it can need veterinary assistance to remove it. The same goes for celery, so avoid feeding celery to your dog.

The other day my boyfriend accidentally left the laundry room door open where we were keeping the trash that was filled with cooked chicken bones. She ate one of the chicken bones lightning fast. We had to induce vomiting by feeding her some hydrogen peroxide. After we had fed her the peroxide, she immediately began frantically eating grass because her tummy was upset.

If there is something lacking in your dogs diet, it could be that your dog is eating grass to make up for it. I am sure that my dogs diet is extremely well balanced (I do not only feed her an air-dried raw food-type diet (Ziwipeak), but a wide variety of safe, healthy foods), so when she eats grass, I know that it is because she has an upset tummy.

That is why I think it is important making sure your dog has a very well balanced diet. If your dog is on a low quality kibble, your dog may be trying to let you know by eating grass (or eating poop).

Q. How can I train my 4 month old puppy to sit?
ANSWER : A. Training basic commands such as sit is very easy using a positive reinforcement method and does not require any more materials than a place to sit and some very yummy treats! When beginning to teach your dog new tricks, starting off in a distraction free area (such as a quiet room in the house) is best. The training can then expand to more distracting places once your dog has the hang of things.

Start by showing your dog a tasty treat and placing it over his or her nose. When they begin to sniff at the treat, gently move the treat backward. Most dogs will follow the treat with their head, and the backward motion will cause their back ends to sit down! Once your dog sits, reward with the treat and some praise. If your dog tends to walk backwards instead of sit, doing this technique against a wall will prevent your dog from walking backward and encourage sitting.

Once your dog has done this a few times, begin to add the word “sit” every time you put the treat above your dog’s head. Only say the word once, and then continue with the luring motion. Your dog will begin to associate the word with the action after several tries! After this, you can begin to attempt to offer the word “sit” once, and if your dog does so, reward with a treat and praise! If your dog forgets, or appears bored, stop training and try again at a later time- most puppies only have an attention span of a few minutes at most!

Q. I’m almost positive my dog is afraid of the dark! Every time I turn off the light she starts crying! Is there a way I can teach her not to be afraid
ANSWER : A. You may need to take things very slowly. First off, you should consider using a night light in the room you have your dog in. I have a night light in my room for my dog, even though I don’t feel the need to use one. You should have a handful of treats, and toss several of them to your dog. While your dog is eating the treats, shut off the light, and then turn it back on and toss several more treats to your dog. While your dog is eating the treats, turn off the light and count to three, then turn it back on. Toss several more treats to your dog, turn off the light and count to five. Turn the light back on, toss several more treats to your dog, shut off the light, count to four. Turn on the light, toss treats, turn off light, count to eight. Turn on light, toss treats, turn off light, count to five. The key is to randomly increase and decrease the amount of time the pup is in the dark. Work on it slowly, slowly build duration. Do not expect it to happen all in one session.

Q. Rescued a dog almost two weeks ago, and now that her kennel cough is gone her personality shines!! No previous training, how should I start?
ANSWER : A. POST FOUR:

After your dog is familiar with the behavior you lured from scratch, and taught to your dog, you can start to use the “no-reward marker” I talked about. What you do is ask the dog to perform the behavior, and if the dog does not perform the behavior, you simply say your no-reward marker (choose one: eh-eh, hey, uh-oh, oops) show them the treat, put it behind your back, and BRIEFLY ignore your dog. Just turn your back for a second or two, before turning back to your dog and saying, “let’s try that again.” When you’re ready to start over with your dog, make sure you move around. If you are repeating the same cue while in the same position, while your dog is in the same position, you are likely to receive the same results. The more you move around, and start fresh, the better your chances are of having your dog listen to your cue the second time around. BIG rewards when they dog it successfully! Lots of praise and treats.

My no-reward marker is “hey.” When my dog does something wrong I say, “hey” and she immediately understands that she needs to offer a different behavior. This is clear to her. I don’t have to say it in a mean way, I simply say, “hey” in a normal tone of voice and she understands what the word means.

Once you’ve built up that connection and communication with your new dog, you can work on all kinds of fun behaviors! I personally enjoy the more zen-like behaviors: https://www.youtube.com/watch?v=ruy9UMcuGh8

I like to teach my dog fun tricks that offer her a “job” to do of sorts like object retrieval: https://www.youtube.com/watch?v=I4iertZSva8

(object retrieval training completed; what it looks like: https://www.youtube.com/watch?v=jx0Dml28FGY)

Scent-games are fun too! Very confidence building. Hide a REALLY smelly treat in a box, and place that box in a line of boxes. Let your dog go in the room while saying something like “search!” or “find it!” and watch them hunt for that smelly treat! Lots of rewards when they find it!

Q. What can I do to stop my dog from barking at people and front doors?
ANSWER : A. Ignore your dog’s barking for as long as it takes him to stop. This means don’t give him any attention at all while he’s barking. Your attention only rewards him for being noisy. Don’t talk to him, don’t touch him, and don’t even look at him. When he finally quiets down, even to take a breath, reward him with a treat. To be successful with this method, you must wait as long as it takes for him to stop barking. If he barks for an hour and you finally get so frustrated that you yell at him to be quiet, the next time he’ll probably bark for an hour and a half. Dogs learns that if they bark long enough you’ll give them attention.

Teach your dog the ‘quiet’ command. It may sound nonsensical, but the first step is to teach your dog to bark on command. Give your dog the command to “speak,” wait for him to bark two or three times, and then stick a tasty treat in front of his nose. When he stops barking to sniff the treat, praise him and give him the treat. Repeat until he starts barking as soon as you say “speak.” Once your dog can reliably bark on command, teach him the “quiet” command. In a calm environment with no distractions, tell him to “speak.” When he starts barking, say “quiet” and stick a treat in front of his nose. Praise him for being quiet and give him the treat.

When your dog starts barking, ask him to do something that’s incompatible with barking. Teach your dog to react to barking stimuli with something that inhibits him from barking, such as lying down in his bed.

Make sure your dog is getting sufficient physical and mental exercise every day. A tired dog is a good dog and one who is less likely to bark from boredom or frustration. Depending on his breed, age, and health, your dog may require several long walks as well as a good game of fetch and playing with interactive toys.

Q. My Bulldog puppy growls, barks and even tries to bite me when I say “no” to him. What can I do?
ANSWER : A. First, avoid scolding him and acting aggressively towards him if you don’t want him to be acting aggressively towards you. There are other methods you can use to communicate to your dog that you don’t want him to continue doing what he is doing. I recommend you stop telling him “no”, scolding him, or raising your voice at him. Everything coming from you should be 100% positive and 100% calm.

Try to figure out ways to clearly communicate what you want to your dog. If you want your dog to leave something or someone alone, I strongly suggest teaching your dog commands like “leave it”. Here is a link to a video in which I explain how to do it:

www.youtube.com/watch?v=R1TS5nA7z5Q

Another thing I suggest you use is a no-reward marker. This clearly communicates when your dog has done something wrong. No-reward markers have to be introduced during your training sessions. You should be doing at least three training sessions per day, that are something like 3-10 minutes long (working on different things each training session). If you are teaching your dog something BRAND NEW, do not use the no-reward marker, as you do not want to discourage your dog from performing behaviors for you. Use the no-reward marker for known behaviors only. Here is another helpful video about this:

www.youtube.com/watch?v=sdU5a6fXKlg

Lure each new behavior (as shown in the video) using high value treats. Let’s say you’re working on “down” which is a behavior your dog knows fairly well. Present the treat to your dog. Ask your dog to “down” (only ask once). If he does not go “down” immediately, say, “uh-oh” or “eh-eh” in a gentle tone, and then place the treat behind your back. This communicates to your dog that they did something to make the treat go away.

After you place the treat behind your back to show your pup “that was wrong” you need to communicate to your pup “let’s try again” by getting your pup to walk around for a second, and then start the behavior all over again. If your puppy is very young, chances are you haven’t taught him a solid “down” behavior yet. So, as I said, do not use this method until you have lured each new behavior as shown in the video.

This is the order in which you should teach behaviors: Lure using a high value treat as shown in the video. After a few successful food lures, lure with an empty hand. If the pup is successful with the empty hand lure, reward with lots of treats. If the pup is unsuccessful, then go back to food-luring a couple more times. After a few successful empty-hand lures, you can begin to add the cue. Say “sit”, then lure with an empty hand, and then reward. Once your pup understands the cue, begin to work on the no-reward marker.