Safe period

So I had sex on the 14th day after my period. I took the morning after pill. On the 15th day after my period, I had sex again. Is it safe to take morning after pill? Can I get pregnant? What is the solution please? My glo time table shows these are high days to get pregnant.