I bought a Macbook pro second hand do I need an installation disk to
update the compute Operating system to the factory situation
On that Mac model, yes. Ask the person you bought it from for the original disks, or phone AppleCare and order replacements.
Retail DVDs won't work on that model.
Retrieving data ...