In order to handle frustration in the long-term, you must identify what kind of problems you are likely to face in the future, and then figure out what resources you might need, e.g. knowledge, skills, money, support, etc. to help you solve these problems successfully.