If the same course is required by both my major and minor, what should I do

You will not normally be credited for the same course twice.  Please seek guidance from your department regarding a replacement course.