Can I use cup if I have IUD?

Yes you can!

Just make sure the strings are short so you won't accidentally pull them. And make sure you break the seal properly before removing the cup.