When did people stop using pack animals and start using wagons or carts for transport?

by Timmatothes
wotan_weevil

Both parts of your question have been answered before. I'll link to past answers, and expand a little on the first part of the question.

The second part is easy: people first started using wagons and carts about 3500BC, in some parts of the world. In other places, even though the wheel was known, it wasn't widely used for transport.

For more on the invention of the wheel, see

As for the first part, pack animals (and human porters) are still in use. Pack animals (and human porters) have three important advantages over carts and wagons: they are more maneuverable in crowded urban environments, they can cope with much rougher terrain and aren't dependent on roads, and are more efficient for carrying small light loads. The cart and wagon have the important advantage of being able to carry heavier loads. Thus, the best form of transport depends on what needs to be moved, and where. Indeed, in some places (notably, much of Central Asia and the Middle East, pack animals largely replaced carts and wagons when the camel was available).

For some past answers on this, on the hidden costs of wheeled vehicles - road building and maintenance - and the relative merits of pack animals vs wheeled vehicles, see:

To expand on those answers, pack animals and porters are sufficiently competitive not just with carts and wagons, but also with motorised transport, in some circumstances. The road-independence of pack animals has led to their use in large numbers in warfare as recently as World War 2:

Pack animals are still used in civilian contexts where roads are poor and/or motorised transport is too expensive, sometimes alongside wheeled vehicles (with the heavy loads carried in wagons or carts, and light loads on pack animals):

Human porters still work in places, perhaps most famously in Istanbul:

where many streets are very unfriendly to wheeled vehicles (note the stairs, a serious obstacle to wheeled vehicles and Daleks). Yes, that's a statue commemorating porters. The porters can earn more than the average household income, typically earning from about the legally-prescribed minimum salary to about 50% more than that, averaging about 25% more.