My dog was throwing up food just like he ate it and now feels life less hardly stand on his back legs what could be wrong?

There could be several reasons why your dog is vomiting and feeling weak. Here are a few possibilities:

* Gastrointestinal obstruction: A foreign object, such as a bone or toy, may be blocking your dog's digestive tract. This can cause vomiting, abdominal pain, and weakness.

* Pancreatitis: An inflammation of the pancreas, which is a gland that helps digest food. Pancreatitis can cause vomiting, diarrhea, abdominal pain, and weakness.

* Addison's disease: A condition in which the adrenal glands do not produce enough hormones, such as cortisol. Addison's disease can cause vomiting, diarrhea, weight loss, and weakness.

* Other medical conditions: Other medical conditions, such as kidney disease, liver disease, and cancer, can also cause vomiting and weakness.

It is important to take your dog to the vet if they are vomiting and feeling weak. The vet can determine the cause of your dog's symptoms and recommend the appropriate treatment.

In the meantime, there are a few things you can do to help your dog:

* Withhold food and water for at least 12 hours. This will help to give your dog's stomach a chance to rest.

* If your dog is vomiting frequently, you can give them an anti-emetic medication, such as Pepto-Bismol or Kaopectate. Follow the dosing instructions on the medication label.

* Offer your dog small amounts of water every few hours. This will help to prevent dehydration.

* Keep your dog in a quiet, comfortable place. This will help to reduce their stress levels.

If your dog's condition does not improve within 24 hours, or if they are vomiting blood or diarrhea, you should take them to the vet immediately.