Possible or not?

If you stopped taking pills and have not gotten period a month. You had sex but he didn’t cum inside you. Just because you didn’t get your period in a month then could you be pregnant?