IUD pregnancy...

Jubilee
If I were to get pregnant while on mirena would I get the IUD removed or would it stay until I gave birth? I'm not pregnant just curious