The person has collapsed and is making sudden jerking movements. They may also have froth around their mouth.
This BSL video was created by the British Red Cross, showing what to do in an emergency and how to treat someone who has a seizure or epileptic fit.