IUD or pill?

Mel
Hi guys! I get frequent migraines. I'm scared to get an IUD because of the horror stories I've read online! Anyone have any advice?