One should take care of their human needs first, before trying to meditate.
Hunger, thirst, exhaustion, sexual desire, any task that is on your mind, deal first with distractions by solving them (Eat, drink, sleep, masturbate or have sex, etc), then you can meditate with peace of mind. That is...