Mince the beef.
Finely chop the onion and garlic.
Combine the minced beef, onion, garlic, salt, and pepper in a bowl and mix well.
Shape the mixture into round, flat patties.
Heat some oil in a pan and preheat it.
Cook the patties on the pan, browning both sides.