It can take a lot of time to repair your reputation online. Depending on the severity of the situation, it could take 5-6 months or even a year. The most important thing is to be patient and keep working on repairing your reputation.