should i contact him?

my boyfriend and i broke up like a day ago and he told me to leave him be. later that night he slid up on a snapchat i had posted. i miss him and i want to contact him but i know that’ll go against everything i’m standing for. my friend told him to let him miss me but i think it’s taking a bigger toll on me. what should i do?