You have not mentioned in your question which heartworm medicine is being used in your dog? Heartworm medicines can be for curative use and preventive use. Anyhow, Effects of Benadryl can be affected by following drugs.
- Monoamine oxidase inhibitors
- Sleeping pills and anxiety medicines
- Medicines to treat depression like SRI, SSRI, tricyclic compounds
- Sedative medicines