IUD questions

Hi I had some questions about iud’s

What are the pros and cons?

Will it affect my fertility for when I decide I want kids?

Any pain?

Would you recommend an IUD instead of pill form birth control?