Short answer
In a main clause the conjugated verb is always in position 2; anything can come first. A second verb part (participle, infinitive, prefix) goes to the end. After weil, dass, wenn, ob and other subordinating words, the conjugated verb goes to the very end. In yes/no questions the verb comes first.
LinkPosition 1VerbMiddle fieldEnd
Ichfahremorgen mit dem Zug nach Bern
Morgenfahreich mit dem Zug nach Bern
Ichbingestern nach Berngefahren
Ichwillmorgen nach Bernfahren
Ichrufedich morgenan
Fährstdu morgen nach Bern?
..., weilichmorgen nach Bernfahre
What order for time, manner and place?
In the middle of the sentence the usual order is time, manner, place (te-ka-mo-lo: temporal, kausal, modal, lokal): Ich fahre morgen mit dem Zug nach Bern.
Which words do not change the order?
und, aber, oder, denn, sondern join two main clauses without moving the verb: Ich bleibe zu Hause, denn ich bin krank. Compare ..., weil ich krank bin.
Practise
word order exercises, subordinate clauses, und, aber, denn. Full chapter: German word order.