Can you use birth control prescribed for periods as pregnancy prevention?

Katie
Can someone answer this question above please I'm really nervous because I've been using them as pregnancy prevention to