Infected toenail?

A week ago my big toes got ingrown toenails, I cut them too short I think and my left toe healed and grew out perfectest fine, but my right toe has started becoming swollen and burning up, its really uncomfy to stand on and I can barely walk I need to walk on my heels for it to not hurt. This only started yesterday and I'm going to the doctors when they open in the morning, but does anyone know if this is an infection and what the worst case scenario could be?