What could be wrong if your 2-year-old dog eat or drink the past 2 days and just lies around you took him to vet they gave a stool softener but say what was wrong?

Possible causes of decreased appetite and lethargy in a 2-year-old dog:

- Viral infection: Viral infections can cause respiratory, gastrointestinal, or general symptoms, resulting in decreased appetite, lethargy, and other symptoms.

- Parasitic infection: Internal parasites such as roundworms or tapeworms can cause gastrointestinal symptoms like diarrhea, vomiting, decreased appetite, and weight loss.

- Bacterial infection: Bacterial infections can cause localized symptoms or systemic illness with fever, lethargy, and decreased appetite.

- Foreign body ingestion: If the dog has eaten something indigestible, it may cause a partial or complete obstruction in the digestive tract, resulting in decreased appetite, vomiting, and lethargy.

- Other underlying health conditions: Underlying medical problems like liver or kidney disease, certain cancers, or metabolic conditions can manifest with various symptoms, including decreased appetite, lethargy, and other signs.

Since the vet provided a stool softener, they may have suspected a mild case of constipation as a possible cause for the dog's current condition.

However, it's essential to understand that establishing a precise diagnosis often requires further evaluation, including additional diagnostic tests such as bloodwork, urine analysis, x-rays, or ultrasound.

Therefore, if your dog's condition does not improve with the prescribed stool softener within the expected timeframe given by the vet, or if any new symptoms arise, it's recommended to follow up with your veterinarian or seek a second opinion for further assessment and appropriate treatment.