PETSc is a sophisticated package, and fully understanding its usage requires time. However, application programmers can easily begin to use PETSc from a high level, and then gradually learn more details according to their needs. Users should read the users manual before attempting to do any serious coding with PETSc! There is also a tutorial.
PETSc users manual
The manual pages are split into four categories; we recommend that you begin with basic functionality and then gradually explore more sophisticated library features.
Beginner - Basic usage
Intermediate - Setting options for algorithms and data structures
Advanced - Setting more advanced options and customization
Developer - Interfaces intended primarily for library developers, not for typical applications programmers