It mostly depends on the structure or form of the sentence you are about to write. When the sentence begins with two prepositional phrases, it is most probable that the comma is placed at the end of the second phrase. Another instance would be before the 'and' if many phrases were combined or used.