Retail and hospital pharmacies handle medication substitution differently: retail focuses on cost and patient notification, while hospitals use clinical teams to optimize drug therapy. Understanding these differences helps prevent errors during care transitions.