boyfriend wants to stay with me but doesn't wanna be seen around me

well today my boyfriend told me that he doesn't wanna be around me but he wants to stay with me and I'm seriously confused. what should I do? should I stay with him or leave him?