Well even if you weren't pregnant if you and your boyfriend are still having sex without protection then there is a good chance that you could have become pregnant or could become pregnant. If you do not want to get pregnant, then you should probably learn from the pregnancy scare and make some changes. The only foolproof way not to become pregnant is not to have sex, but using protection and birth control would greatly reduce the chances of pregnancy.
Kate