Best to call your pharmacist, if you cannot reach or afford a vet and they should be able to advise. Most antibiotic creams are rather harmless if licked, but better to be safe than sorry. As well, you do not say what it is for, and if the cream in prescription or over the counter. Once again, check with pharmacist
You can use neosporin on animals; if they lick it off it won't do any harm. Just make sure you put enough that it will help so if they lick it off at least some of it may have done some good.