By using brute force to solve complex mathematical algorithms that are part of the bitcoin authentication process. In the process of doing this you every now and again create a new block of bitcoins. The process takes a lot of computer power and purpose built mining rigs go for around 6k each.
Unless someone is paying for your utility bill, mining for bitcoins as an individual will likely yield just enough to cover the electricity needed to run the machines required.