Pour oil into a frying pan and heat it up.
Slice up the onions.
Add the sliced onion into the hot oil and saute it on high heat until it gets a glassy / translucent look.
Reduce the heat to medium high and throw in the black pepper and garlic.
Saute the garlic until fragrant for about 2-3 minutes.
Dice up the brains.
Put the diced up brains onto the onion.
Saute the onions and brains on high heat until the brains changes color to whitish for about 2-3 minutes.
Pour the lightly beaten eggs into the pan as well.
Fry the eggs and brains to taste.