Keep track of how you are doing in class and if it isn’t what you think it should be, change what you are doing. Go to Professor’s Office hours, Get a tutor, Form a Study Group.
Also, don’t sacrifice your grades because your roommate/girl or boyfriend/family/friends are having issues.