Wearing the wrong shoes can affect many aspects of foot health. First, your shoes must fit. Shoes that fit too tightly can cause hammer toe, corns, ingrown toenails and general foot pain. Overly large shoes prevent your heel from settling in the proper place as you walk, causing blisters and calluses, sore heels and excessive shoe wear. Remember that your feet "stretch out" late in the day, so go shoe shopping after work, when your feet are at their largest. You might gain a half size as you age as well, so your usual size from 10 years ago might not be your correct size today.
Some shoes are bad for your feet even if they fit properly. Wearing high heels frequently can cause damage to the bones of the foot. They're fine every once in a while, but you should find a comfortable pair of flat-soled sneakers for everyday wear.
You should also look for the right materials. Synthetics tend not to breathe well, trapping heat and moisture. Natural materials like leather and cotton will keep your feet cooler and release moisture; athletic shoes with special materials or mesh work even better. At the same time, though, you can't really avoid foot sweat. However, you can try to alternate your shoes, so that the pair you wore yesterday has a chance to dry out completely before you wear them again.