You can prepare for dinner by doing whatever it is that is necessary for you to be ready to have dinner. Maybe you wash your hands. Maybe you put on fancy clothes. Maybe you set the table. It has to do with getting ready.
You prepare dinner by making it. "I prepared dinner" is about the same as "I made dinner."
Can you draw your own conclusions about difference in your other two sentences?