Please describe what actually does not work as well. This is a must when completing a Bug Report so staff can replicate the problem and hopefully resolve it. Give a description of what you have done redstone wise and how the door won't work at the end. And just to emphasis what Toon said, make sure you are on 1.12.2. Minecraft version 1.13 has visual glitches and such.