When to repair and when to replace common items