You made a lapse in judgement. You can STOP right there, say I won't make that mistake again & move on.
Don't beat yourself up.
It is only a relapse if you intend to keep on with it. IMO
If you nip it in the bud before it takes you over, it is a learning experience, not to be repeated.
And welcome aboard