Missing pills lately

I have been on the pill for about 2 years and have always been great at remembering them, until lately. I've missed about 4-5 pills in a row and during that time I had unprotected sex once. After that I remembered to take my pill for 2 days and then forgot a day or 2. Should I keep taking pills or stop or what?