An NHS trust is asking people to hand in unused or unwanted medication to reduce the risks that stockpiles can cause.