Were they tight on his feet , it could be an allergy so giving him a med may be the right way ,if it continues take him to see the Doctor for an opinion .babies of 6 months don't need shoes really, socks may be enough .or nothing when its warm.Good Luck