You can generate your own electricity in a number of ways. The most common way is to use a generator, which converts mechanical energy into electrical energy. You can also use solar panels or wind turbines to generate electricity, or you can even harness the power of water with a hydroelectric dam.