Some folk worry too much... just go and play...
You cant walk 20 yards in St Andrews without seeing a golf shop! Plenty of places to stock up...
Last year the only ball I lost on the Old Course wasn't strictly lost... I know where it was exactly.... on the roof of the Old Course Hotel!