Cocaine has been used within some medical settings as a local anesthetic, but may also be abused recreationally as a street drug. There are a few different methods in which a person can use cocaine.