Please don’t judge

I had sex March 17th with my ex, got my period ten days later.. then the month of April I had sex again (not with my ex) and found out I was pregnant.. it couldn’t be from my ex though right?