Seriously, do yourself a favor and consider hiring an electrician to do it. Or start reading up on home electrical wiring, and how to use a multimeter; you have to know which wire is which, not assume. You can also check whether your local lowes or Home Depot hosts a class on the topic.
I’ve managed to educate myself how to re-wire some of the simpler circuits in my apartment with some smart switches and aeon’s older generation micro switches. I had some great help from people on this forum. But if you’re literally starting from square one then learn more about what you’re doing before actually messing around in your switch box. You could injure or kill yourself.