Cocaine may be taken in different ways. No matter how it is taken, cocaine is dangerous. It can cause heart attacks, respiratory failure and strokes. Any of these can be fatal.