After having surgery the surgical incision should take between 2 to 8 weeks to heal.
However the time it takes for a surgical incision to heal can depend on how big the incision is and your current health as well as if you're taking any other medications as well.
If you take some certain medications then the surgical incision may take longer to heal but if you don't take those certain medications then the surgical incision should heal within 8 weeks at most.
That is 2 months for the surgical incision to heal.
You still will likely have a scar depending on how big the surgical incision was.
You should take it easy and avoid any strenuous activity for at least a couple months or until the surgical incision heals fully.