You should ask yourself some questions, e.g.:
- Other than that, do you like working there (company, team, pay etc.)
- Did you try talking to someone about this problem? Maybe there are other people who feel the same way and you can lead to change
- Do you have any alternatives that would make you happier?
As a general rule, if you are unhappy for a longer time period, try out different courses of action that could lead to the desired change. Too many people just sit through it because they're comfortable and don't want to take any risk (this not only applies to jobs, but also to other areas in life)