Implantation ? Idk I'm scared help me.

So if you think you have implantation 5 days before your period, would you still get your period or not? And when should I test. I'm terrified I don't want a baby right now. Just need to know what to do right now. HELP