Surgeons will vary in their protocol. Some might only recommend one dose before surgery and some may continue it longer.Best to ask your surgeon.
Every PS will give different advice. Some PS's do not give antibiotics, some give one dose intraop and some give intraop and some to go home with.