Advice..

I started my job 3 months ago and just found out I'm pregnant.. I'm a bit scared to tell them when it's time.. any advice How to go about telling my employer? And when is best to tell them?