It really depends upon the airfield. At controlled aerodromes, the runway in use will be given to you. If it is vastly variable or nil (quite uncommon) then tower will probably select the runway that ensures the greatest flow of traffic on the ground and in the air.
At uncontrolled airfields, the wind sock dictates which runway to land on as well as any other traffic in the pattern announcing their intentions. If, again, the wind is nil, then you are free to choose which runway you'd like as long as you announce your intentions.
If there is no wind at an uncontrolled airfield, then other factors can influence your decision on which runway to use and rightly so...such as terrain hindering an approach or making it difficult, point at which you want to taxi clear of the runway, approach into the sun (not advisable if avoidable), runway slope (land on an up-slope), experience at the airfield and experience on a runway at that airfield, ground features to judge the approach profile (or lack of) and the list goes on.
None of that is written down officially as far as I know, but it comes under the general heading of "decision making" and "airmanship".
That said, if somebody is already in the pattern (at an uncontrolled field) and you then arrive, you must follow their lead unless you deem it unsafe to do so.
Click below to support FSF