How do you set your character back to normal after ragdoll

Ok so on begin overlap my character goes into ragdoll and is then teleported. However when my character gets teleported my character doesn’t go back to its normal animation/state.