If the light switch isn't turned off immediately after you install it, it's probably because you wired it wrong, but if the switch isn't working, it's malfunctioning. ... There is no reason to fix a bad light switch.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.