What is the best way to prevent a tapeworm infection?

AWear shoes outside.
BGet plenty of exercise.
CWash your hands often.
DThoroughly cook raw meat.