The answer to 'how to fix rewiring' is that rewiring your home is a complex electrical project that is best handled by a licensed and experienced electrician. Rewiring involves safely removing old wiring and installing new wiring throughout your home to bring it up to current electrical codes and safety standards.
Attempting to rewire your home without the proper skills and equipment can be extremely dangerous and lead to fire or electrical hazards. Homeowners should only attempt basic electrical repairs and maintenance, such as replacing light fixtures or outlets, while leaving major rewiring work to the professionals.