Keep on getting teleported to Other Players Vehicles

Whenever I join a server and spawn a car and try to drive it, I just get teleported to other players vehicles and can do nothing about it.
I have tried some methods which were written on other topics in this forum, but none of them worked.
(I joined a server which had no other player and it worked fine, even when after some time some other players joined and even though I changed my car, I did not get teleported to their car. But that was the only time I could drive my car).

simply keep the “multiplayer session” ui app on, do not remove it

I figured it out.
What I was doing is when I was joining servers, I used to exit the flying mode/the invisible vehicle you will be when you join the server and tried to spawn the car.
Maybe the server detected me as creating 2 vehicles which automatically teleported me to another vehicle.

Thanks for the reply, but I managed to identify my mistake.