Help?

I'm in a serious relationship with my boyfriend of 5 months. We have done everything under the moon but sex. I am 17 years old and want to start having sex but I want to have my stuff in check first since it's my body. What is better, the pill or an iud. (I don't plan on getting pregnant for a while, aka at least 6 years)