that's a much more complicated answer than you can know. Several specialties spend all their time on this and there is no easy answer. For now though it's recommended to walk barefoot on irregular and dynamic environments, no orthotics, seeing a good chiro in conjunction with a good rolfer.