Always check your pharmacy refills in whatever way you can find. There are far too many drugs with somewhat similar names. If it's just a jar of white pills, try to identify them, or recheck with the pharmacist.
If you have a choice, "unit dose" drugs are safer -- the ones packed in a blister that is often difficult to extract. The name is usually on the blister pack. That's why hospitals, at least here in US, almost always use them.