How do I know which courses to take?

This depends on the programme in which you have been offered a place.  Your letter of acceptance should indicate this. The student undergraduate handbook or your departmental handbook lists the course requirements for each programme of study.  Just follow the list.