License removal

I need two licenses taken off machines however they have been wiped so the license is still attached to those accounts what can I do?