Is it normal to have very irregular periods at first?

Yes. Yes, for the first year or two after starting periods. After that, they should be regular. If they are consistently less than 3 weeks apart or more than 6 weeks apart, you should see a gynecologist.