A course appears in several modules

Which module do I have to take?

This is specified in your study regulations. If you are unsure ask a study advisor or your Office for Student Affairs.