Peel the potatoes and cook them in salted water (the potatoes shouldn`t be too soft), let cool slightly and cut into slices.
Mix the cream and sour cream, season with salt and pepper.
Peel and chop the onions, peel the garlic, chop or press through the garlic press. Mix the cream and sour cream, season with salt and pepper, stir in the garlic and onions.
Fan the potatoes in the greased baking dish and pour in the sour cream sauce.
Bake in the oven at 190 ° C for about 30 minutes.
Finally, pour the grated cheese over it and put it back in the oven.