Infection is indeed a major concern. Just because a cyst is non-malignant, doesn't mean it should be ignored. Be careful of cuts, and open wounds near cysts under the skin. Wash the cut and cover with a clean band-aid or gauze. Keep it clean and covered until it is completely healed, to avoid exacerbating the situation.
An inflamed sebaceous cyst could be a sign of infection.