help??

So i was on the pill for two months just to keep my period in balance and when I went to a friends holiday house I life my pills up there so I couldn't take them and I had my period when I was up there. When I came back a couple of days later I had my period again!!! What happens when I get back on the pill? Help?