It depends on the origin of the name :) If 'David' is meant to be English, the name is transliterated as 'Дэвид' with the stress on the first syllable ('э'). If it is Jewish, it is 'Давид'.