Answer:
You can't. You just have to learn to deal with it and depending on how bad it it may not be possible. The cure would be similar to the cure for down syndrom... aka doesn't exist beyond the point of figureing out what you have the mental capacity to do and having someone help you with the rest. My gf has a FBI and at times is perfectly normal but at others she's all screwed up. Some days she acts her age and others she throws bigger fits than our kids. The best thing to do is get in a routine that is the same every day and limit changes such as having kids. Unexpected changes have drastic changes to the mind