When it happens it either means I'd feel sleepy again after I wake up and sleep till I wake up at 4 a.m. and endure the torture of breaking sleeping habits or that I wouldn't be able to sleep and end up sleeping at 4 a.m. and wake up at ∞ a.m. and endure the torture of breaking sleeping habits
Except, it's relatively easy to fix these things, but you're gonna have to be tired one whole day (you won't be if you spend it in front of a computer, though).
I'd definitely go for the wake up at 4 a.m. option because that allows you to go to bed "later" (for your body) and not miss anything, however.
The rule is not to take naps after 6 p.m., and you'll be safe.