Folks round here will need a bit more info to help you. Is your friend in OS X or bootcamp Windows. What programs are running when this happens. Does it happen right after the Mac is turned on or does the system have to be on for an hour or more. More detail will get more answers.
Cheers,