To fix these issues without straying from the ideal color and finish, you can color match the paint on the wall, then purchase a new can of paint for touch ups, repairs, or full wall updates.
Paint can peel for a variety of reasons, including too much moisture, using the wrong product, and poor wall preparation.