Rubbing alcohol?

I have had a huge headache for the past 3 days and im not sure whats safe to take while pregnant. So i put rubbing alcohol on top of my head (thats where i felt the headache & and laud there. I inhaled the smell for maybe less than 5 mins and im currently washing my hair right now. Could this have harmed my baby??

12w 6d