How do I know when to use Akkusativ and when to use Dativ? Is there a rule?

Just for you guys to understand how it works. We will still have a lot of teaching on the German cases and when to use each one :)

你是一位语文老师吗?

Flag fr Flag es Flag en 英語 Flag it Flag de Flag pt Flag ja 日本語