A good dictionary indicates what case should be used with a given preposition. Here are the two most common prepositions that require the Dative case.
по + Dat. 'apiece' Всљм дадџт по одномџ большћму їблоку.
по + Dat. 'around, through(out)' МІ љздили по всљй странљ.
к + Dat. 'to' Ћн тћлько что пошёл к врачџ.