The joke is a pun.  It sounds as if the speaker is talking about medication tablets, meaning pills, but the meaning of 'tablet' being used is the stone tablets that the ten commandments were chizeled on.
For fast relief take two tablets . The ten commandments