Can you appeal a case in which a plea agreement was signed?

Question Details:

If so, how long do you have to do so? I was not mentally competent at the time I signed a plea agreement and my attorney failed to bring it to the judge's attention. My exact words to him had been that I didn't care what I signed because I wasn't going to live to deal with it anyway and my fiance told him I had made recent attempts on my life. Honestly, I did not become competent enough to even fully understand what I had agreed to or what the charge was until almost a year later. I suffer from extremely rapid cycling bi-polar disorder and was unaware of it at the time. Important Notice