Pregnancy scare?

I had sex with my bf and he finished inside me but I have the copper iud. We had sex the 17 and I felt super nauseous this morning. Is it too early to take a test? It also hurts when I have sex so I’m scared that my iud moved out of place and I could pregnant