Is it my IUD string?

I was having sex with my boyfriend and he said he felt something poking him and it hurt. Could he be feeling my IUD string? If he is, is there anyway to fix it?