you have to do a couple of things, first determine what processes they have started and use the kill command to stop them, and if this involves an X-session you would need to kill the PID and x-session lock for them, this needs to be done as root
other thing you can do is use su to log in under their user name and then log them out, also needs to be done as root
the who command will show who's logged in, ps x will show current processes running |