help please

I'm kinda prone to styes in my eye but i woke up with eye crusties and my inner corner of my right eye was swollen shut, I grabbed a warm rag and gently wiped all of the crusties away and noticed my eyeball was bloodshot. I don't have a bump or pimple on the top or bottom of my eyelid so i cant tell if its a stye or pink eye. I was prescribed a eye ointment for styes and would I be okay to use that even if it was just pink eye?