Preventing, diagnosing and treating heartworms