How do I create solar energy for myself and use it?

Ok so here’s the thing, I want to make my own solar energy. I’m not saying huge amounts that can power my house, I just want enough that I could, I don’t know charge a battery. I also would like to learn how to make solar energy for things like flashlights I make myself. I need to know how to hook the solar power up as a power source. Thank you for all your help and website links would also be appreciated.