How to fix before painting?

The wall has paint peeling in the middle of the wall - not sure if the wall was not prepped correctly or it’s a bigger problem? Any advice on how to fix before I paint?

The wall has paint peeling in the middle of the wall - not sure if the wall was not prepped correctly or it’s a bigger problem? Any advice on how to fix before I paint?