There are a few ways to get cursed in Dark Souls II: defeating a curse-bearing enemy, failing a Bonfire challenge with a Curse Egg modifier, touching/being close to a source of cursed blood or ash, and coming into contact with the Black Sacrament.