Should I tell my ex I'm pregnant?

We were together for 5 years and engaged when we ended it. We're friends on Facebook, and talk occasionally to catch up... So I know he'll find out, but i don't know which way is better.
***its not his, we've been split up for 3 years.