Sooooo.....one day you're a joy to be around, a gift, a blessing......the next day (literally) you're a pariah, the devil incarnate, a scourge. In the blink of an eye, the tick of a clock, you've experienced the extremes of the human condition......emotions.
What does one do in this case?
Live your life for you. Spending time focusing on people's transient view of you distracts you from being the best you that you can be. It's not easy but then again, nothing worth doing was ever easy.