During an ant bite, ant releases a special type of acid called formic acid or methanoic acid which leads to swallowing of particular region. It can be neutralise by putting some base on it.(CAUTION: Don't use a strong base.)
In case of neetle sting , it also injects same acid. To neutralised this an another plant grows along with it called dock plant, in the wild.