You can buy cryptocurrency online at cryptocurrency exchange, or you can go to websites such as coinbase or cryptoexchange. You can also mine it, where you can get it free of charge, mining utilities the power of your computers to fix math problems and provides you with cryptocurrency as a reward for doing so.