First, OPT stands for Optional Practical Training, the job must be directly related to the student’s major area of study. So unless your friend's major is child care, babysitting is illegal.