I was having toe pain the other day on one foot because I was wearing a thicker pair of socks than usual (too lazy to find thin cycling ones).

After a couple miles, I pulled over, took the sock off, and my toes were happy as could be after that.