Irregular period

My last period was 31 days apart and one one before it was 27 days it's strange.It usually comes every 28 days...is this an irregular period?