Pain on top of left foot while walking, doctor said its flatfoot but I dun think so, bkoz flat foot is genetic I guess! Only pain while walking. Reason?

Pain. Pain on the top of the foot may be caused by several reasons. If no injury known then some reasons may be : tight shoes, tight muscles, joint pain, tendinitis, nerve pain, or biomechanical like flatfoot. I would ask the specialists what he means and how it contributes to your pain. If still not understood seek a second opinion. .