Corns and warts can look very similar. Warts are caused by a virus and are contagious, while corns are not contagious and are caused by friction. Before you attempt an over-the-counter or home remedy for that lump on your foot, make sure a foot care specialist has diagnosed it.