Is it ok to have IUD without giving birth before

L

I was advised not to have iud before giving birth for first child or get pregnant and having a baby and it causes an issues and delays pregnancy is it true ?!