I bought some chicken and I accidentally forgot to put it away and I put it in the fridge in the morning and I want chicken can I like boil it and the bacteria will boil away or what?
We don't refrigerate food because it needs to be cold at the moment of preparation, we refrigerate it because it keeps the "bad stuff" from growing in the first place. Something that's been at room temperature overnight has had plenty of time to grow harmful bacteria, and putting it in the fridge won't change that. It may slow the growth of further bacteria, but you're already in the "do not eat" zone, so you'll only be chilling bacteria-ridden, inedible meat.
While boiling will kill the bacteria that has grown, it may not eliminate nonliving toxins that those bacteria produced while they were alive. Even if you boil it, the chicken is not safe to eat.