My little toe really hurts when I walk/ how do I know if broken?

X-ray. If there was an injury then an x-ray would help make the diagnosis. Without injury the 5th or little toe could be in a contracted or rotated position and this can create pain in the joints. In addition spurs can develop between the toes from excessive pressure.