Are you using carbon in your filter? If so, remove it while dosing meds.
Also, when buying fish from big box stores, take your time and observe the fish in the tank for any signs of disease: visible ich, damaged fins, dead fish present, flashing etc. Also be aware that the water in their...