URGENT !!!!

Okay so I’m on the pill (first time being on it) and I had unprotected sex about 2 weeks ago. My period is due sometime next week and I’m just freaking out that I’m pregnant. He did not cum inside me and never has, however I am aware that pre cum is an issue. Although he was only inside for about a minute, could pre cum still be a problem and could I be pregnant?