Can you still have sex with the IUD?

I'm thinking about getting the IUD so I would like to know can you still have sex with the IUD? Also I hear so many story's about the IUD and I'm a little nervous to get next month.