Usually 'the' would refer to a particular chemist, etc., but sometimes is used in instructions to mean whichever chemist is applicable e.g. 'take this prescription to the chemist and get the medicine' - it could be any chemist. It is equally correct to say ''take this prescription to a chemist and get the medicine".