Go through these in order and stop at the first one that applies. If you are reading this for someone else, answer for them.
Seek emergency care if rapidly spreading redness occurs with fever, confusion, faintness, rapid breathing, or severe illness.
Black or blue tissue, a cold foot, or sudden severe foot pain also requires emergency assessment because these signs can indicate critically reduced blood flow or serious tissue injury.
Seek prompt medical care for:
Arrange routine medical or podiatry care if a callus or corn is painful, keeps returning, interferes with walking, or does not improve after pressure is reduced.
Evaluation is also appropriate if you are unsure whether the area is a corn, callus, wart, or another skin condition.
If a clinician trims the area or recommends an insert, follow-up may be needed to see whether pressure has been adequately relieved.
The article also says
People with diabetes, peripheral artery disease, neuropathy, previous foot ulcers, or a weakened immune system should seek professional advice early rather than attempting to cut, file, or chemically remove thick skin.
Regular foot checks may be recommended based on the person's overall risk.
Check the area after changing footwear or using padding.
Improvement should include less pressure, less tenderness, and no new skin breakdown.
Every sign above is quoted from the sofidex article on Calluses and corns. If you are not sure, err upward — it is always reasonable to be checked.