Medication and the depo shot?

I'm on my period. I got it the day I got the shot, my periods gotten so so painful I had to take a painkiller (I took a period nurofen) I googled it and it said it was definitely safe to take while on the shot. So I took one and now I'm just kinda worrying?? Can someone put my mind at ease please??❤️❤️❤️