skipping period 2 months in a row

Has anyone done this before on the pill? Has it affected you in anyway or been harmful?