Be firm and calm with them, and don’t give wishy washy answers.
Such guys only persist when they think they have a chance – esp if
you are trying to be “kind” to them. After you’ve made urself clear
once or twice, don’t let them tempt you into replying their sms-es
and calls. Just go cold turkey. It’s very effective.