Place it in a pan and in a separate pan, stew the finely chopped onion and garlic cloves. Once stewed, add the beer and sugar. Boil the mixture and pour it over the meat in the other pan.
Bake the meat in a moderate oven about 90 minutes. Cut into slices for serving and serve them warm.