can I take someone else's birth control pill?

my bestfriend recently was on birth control to regulate periods but she got off track & decided to quit taking them all together. she offered them to me knowing I'm sexually active. would it be okay for me to take them? we are same age so should be same level of hormones right?