Hello. You did not enter the text to which your question refers. However, when researching this question, I found that you are referring to "The Time Machine" a short story written by HG Wells.
In this story, the main character who is called the Time Traveler builds a time machine and decides to show it to his friends. At the time of the demonstration, the time machine disappears with him inside and reappears hours later, and when the time traveler leaves it, he is completely exhausted, dizzy, dirty and looking down. In that case, what happened to him?
Well, the time machine took him to 802.701 AD where he lived a dangerous and deadly adventure, having to fight to survive and recover the time machine, which had been hidden by some inhabitants of the place where he ended up. When he managed to recover the time machine, he tried to return home, but kept going to random places, where he was attacked many times, until he was able to get home.