What kind of phone do you have and how long have you had it?

I have a S21, got it end of February 2021. It's a year and 9 months old, it started acting up here and there the last few weeks.. I deleted some old things on my phone to help it and it still is doing this.

Google said a phone should last 2-3 years, I was hoping for 3+ years with this one. Any advice?