It can be cured with physical therapy which is in the form of eye exercises, or a pair of special designed glasses. If you are in an extreme condition, you may need a surgery. So, go and see an eye doctor, have him make you a therapy plan. Or you can do some eye exercises by yourself. For example, cover your healthy eye, and gaze at something with the wandering eye. If both of them are wandering eyes, you can cover one of them to watch something and then switch to the other. Other exercises like threading needles, painting and try to gaze at the point of a pen take by yourself, and then make it near to the middle of your eyes, and near and near. Do the last one again can really help you with your wandering eyes.