I'm back and need encouragement

Hi, I lost some weight last year using MFP but then had a total knee replacement and have gained back all the weight and then some. I need to get back into that mindset that I had before, but it is slow to come. I know the reasons to lose weight and I really want to but I just cant seem to make the changes that are needed. Any ideas or encouragement would be appreciated. Thanks