Worried I’m pregnant

I was raped a few weeks ago, I am worried I am pregnant, I’m waiting for me period to come in a few days so if it doesn’t show I can take the test. can I just take plan B to get my period to start and not have to worry about pregnancy?