When biomaterials are inserted in a biological environment, for instance in a body implant, proteins do quickly adsorb on the exposed surface. Such process is of fundamental importance, since it directs the subsequent cell adhesion. Here we review recent advances in this field obtained with molecular simulations. While coarse-grained models can provide important general results, as it has long been recognized in polymer science, the hierarchical structure of a very complex copolymer such as a protein, together with the nature of the biomaterial surface suggest that atomistic models are better suited to investigate these phenomena. Thus, after briefly mentioning some common features of coarse-grained and atomistic force fields, we first discuss early theoretical and coarse-grained simulation results about protein adsorption, and then we highlight the main results recently obtained by us with atomistic models. In particular, we discuss some conformational and energetic aspects of the adsorption of protein fragments with different secondary structure on surfaces of different wettability, including hydrophobic graphite and hydrophilic poly(vinylalcohol). We also consider other features, such as the simulation of the materials wettability, the hydration of the adsorbed fragments, their kinetics of spreading, and the sequential adsorption of two protein fragments on top of each other, highlighting the results of general interest.