Fertile window

Hey ladies,

So I had sex on the last day of my fertile window , now I read that if your period is regular and you have a 28day cycle the day you ovulate is 14 days before you’re next scheduled period ? Is this true ? Or is it 14 days from the first day your period starts ?