Dear friend, welcome to HCM!
Do not worry. It is not cancer.
(inflammed tonsils) can have whitish patches/ pus of infection on the tonsils and they can hurt.
Even if it is swallowed, nothing will happen.
Continue with the advised treatment and antibiotics.
If white curdy patches are forming again in the throat, rule out fungus (candida).
Take care and please keep me informed of your progress.
I hope to have answered your query satisfactorily.