What do you do if you find out you’re pregnant on the pill?

What do I do now? Before anyone asks I took orthotricyclin or whatever and I took it everyday at the same time without missing any. Do I call my obgyn and stop taking it or what?? Help scared