How do i create a permanent NPC?

Firstly I am VERY new to RPG maker and am creating (maybe?) a story game without battle. So a few characters will appear many times in the story, so do i have to create there event every time there is their use or is there some other way like introducing them in database?

Also in the story, there are 3 classes for the main player in different times of there life, so how can i switch between those classes while in game. ex: in a map the player is in the time where they are a kid. after the scene there player sprite changes to there present form.
Firstly I am VERY new to RPG maker and am creating (maybe?) a story game without battle. So a few characters will appear many times in the story, so do i have to create there event every time there is their use or is there some other way like introducing them in database?
Yes. RPG Maker uses an Event system. You don't "define an NPC" in the database with a name such as "Steve," but you put an Event on every Map/location this NPC should appear. It doesn't matter when you have 50 events for Steve across your game.

I recommend you to learn about "Common Events" to avoid a lot of copy-pasting.

Also in the story, there are 3 classes for the main player in different times of there life, so how can i switch between those classes while in game. ex: in a map the player is in the time where they are a kid. after the scene there player sprite changes to there present form.
There are Event commands for both to change your hero's class and to change their appearance.
do i have to create there event every time there is their use or is there some other way like introducing them in database?
Yes, you create an event wherever you want to see that NPC. The database is only for actors in your party.

Also in the story, there are 3 classes for the main player in different times of there life, so how can i switch between those classes while in game.
There are event commands to change class, image, actor, anything you need.

You might want to do some more basic tutorials on events and explore all of the event commands before trying to get into your own goal game.

Edit: Ninja'd by Aerosys 😉
I will third everyone saying to spend a few minutes with common events. I kinda just hit the ground running like you did and by the third time in 300 hours that I had to overhaul all my doors again common events really made sense.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-create-a-permanent-npc.157404/