Do you have a case on your phone? If so take it off and see if the behavior keeps happening.
By any chance have you spilt a liquid on your phone? The buttons coud be sticking.
I am not an employee of Best Buy and all opinions left on this forum are my own. Please leave Kudo’s if you like a post or click Accept as Solution if a post answers your query.