For heels, I usually size up half a size, and pad the insides of the shoes with gel inserts and toe pouches. I trim the pouches if needed, so they don't show when the shoe is on my foot.
Also, if I know I'm going to be wearing heels for an extended period, I warm up my feet and legs - point and flex my feet, foot rolls, gentle stretching, and calf stretches.