Thanks for the query
If the snot was mucous and thick in consistency then it is nothing to worry about but if it was clear and watery then I would like to think in terms of CSK leak ( leak of brain fluid) through your nose. It is unlikely for someone to spontaneously develop CSk leak.
I would also recommend that you are on prophylaxis for the headaches
with tab metaprolol and not use ibuprofen
each time you get a headache as it could be injurious to your kidneys if used very often. Try Tab paracetamol
I hope I was of help