Obsessive Ex Syndrome

My ex won’t leave me alone—he texts, calls, and even shows up at my work. It’s been months since we broke up, and I’m starting to feel scared. Is this obsessive ex syndrome? How do I get him to stop without escalating things?