User Activity

I recently bought Samsung Galaxy A26 but I'm having issues of earpiece sometimes it is working and sometimes it's not at all .What causes this the phone is still new