Might be pregnant by soon to be ex husband

I may be pregnant by my soon to be ex husband what do I do...I should of had my period 2 days ago. We just had court last month and again coming up next month.