Talk to them or have the class lead talk to them. Drop them if that doesnt help. But its never useful to yell at people. The person will likely leave, and some others might go with. If thats what you are intending then just be honest about it and boot them and there will be less drama attached to it.