Help for change character

I used MyCharacter blueprint to create my charater and set its animations,
I assigned UBlueprint to DefaultPawnClass, that work fine,
but I am going to change other character with other blueprint,
I donnot khow how to delete old charater and recreate new charater,
Please help me, thanks.

My code as:
ConstructorHelpers::FObjectFinder PlayerPawnObject(TEXT(“/Game/Blueprints/sword01”));
if (PlayerPawnObject.Object != NULL)
DefaultPawnClass = (UClass*)PlayerPawnObject.Object->GeneratedClass;

You can do something like this inside first character

//Checking if we got pawn from blueprint and if this character has controller assigned ( ts possessed)
If (PlayerPawnObject && Controller) {
        //Spawning actor in same location
        UPawn Pawn = ()->SpawnActor(PlayerPawnObject.Object->GeneratedClass, GetActorLocation ());
        //Checking is actor is spawned
        if (Pawn) {
                 //Making player controller possess new character and destroying this one
                 Contoller->Possess(Pawn);
                 Destroy();
        }
}

This is losly done in my head but this is something you like that that you need to do, ofcorse if you do that outside the character you would need to get that character first, for example from PlayerContoller with GetPawn(), also there might be problem when you spawn something in same location, i never tested that, so if spawing wont work you will need to wait until old one is destroyed. Remember to do thst in funtion not constructor.

Thanks, Solved.

Thanks, Solved.