This is likely a cyst that arises from a clogged hair folicle or sweatgland, and will go away on it's own. Nonetheless, I would go to a doctor, just to be safe- but don't worry!
warts do not disappear that quickly within 2-3 weeks without medical treatment...