In the US (GPY is British, Clive is Canadian), these two words are typically not used to refer to illegal drugs that are in pill form. "Pill" here is typically used for legitimate prescription or over-the-counter medicines. "Tablet" is usually used as a formal term for a pill, as on a prescription bottle: "Take two tablets three times a day."