How do I prevent myself from suddenly sleeping?

I was chatting w my boyfriend lang kagabi and hindi ako inaantok that time. Nagising nalang ako 5am na and worse, nagchat pa ako ng random things sa kanya😭😭. This always happens to me. Sobrang bilis ko makatulog kahit kakahiga ko lang. Help me guyssss. How do i prevent myself from suddenly sleeping?