is pulling an all nighter like a bad idea..

i mean it's 12:45 am and ive been watching yt for like three hours should i go to sleep or do homework