The dose should be decreased gradually at the end of treatment. This can be achieved over a few days or weeks, to reduce the likelihood of withdrawal symptoms.