The aim of this course is to exploit the cohomology of certain arithmetic groups attached to automorphic forms over a totally real field F, in order to construct the following objects: On the one hand, the cyclotomic and anticyclotomic p-adic L-functions attached to an automorphic representation. On the other hand, Stark-Heegner points on modular abelian varieties attached to quadratic extensions of F.