Peel and dice the potatoes, heat the oil, add the potatoes and vegetables and fry them. Mix in the bacon in pieces, the peeled onion in rings and both with the crushed garlic cloves, salt, pepper, paprika and cayenne pepper. Fry for 10 minutes while turning. Finally, mix in the beans in tomato sauce and heat briefly.