With costs escalating, pharmacies are making a loss on essential items such as aspirin.