Clean the cod thoroughly and cut it into bite-sized pieces.
Slice the potatoes and onions thinly.
Layer the cod, potatoes, and onions in a pot.
Add cherry tomatoes, garlic, olive oil, salt, and pepper.
Cover with a lid and cook on low heat for 20 minutes.