The accent of any word: Is it natural (being on a certain syllable like in Russian) or is it on a certain part of the word (like in a stem like in German) or is there any special rule (like in Latin or Spanish) ?

I understood the rules of accent putting and changes by declincion etc., but asked myself how to determine the accent finally in the nominativ for example.