Help!

So I just started my period yesterday and usually I get cramps the first day and I take a ibuprofen or something and they usually go away ... so yesterday as soon as my period came I hurry up and took the ibuprofen before my cramps could kick in so boom fast forward to today i woke up with them and my stomach was hurting very bad I’m 15 and I’m a virgin and my periods have not been regular lately they have been making their own dates for the past 3 months it has skipped one month then the next month began from the 1 first to the fourth and then the month after that it started the 16th to the 19th . I’m not sexually active or anything the last time I’ve seen my boyfriend was June 9th and all he did was touch and kind of rub( not for long) but his private area was dry and he didn’t come and I got my period after on June 16th and this is my second period ? So does anyone know why I’m having these cramps the second day ?