What should you do when something is not working for you for a long time?

What should you do when something is not working for you for a long time?