If people think you should break up with your boyfriend, think about the reasons they say that. At the end of the day, you need to decide what makes you happy. If being with him makes you happy, then stay. If being with him means being in an unhealthy relationship with ups and downs, you may want to consider leaving him.
You have to follow your heart. It's not your friends choice. If you really love him then stay with him, but if you are having problems in your relationship it might be better if you do break up because small problems can turn into big problems, and could hurt each other even more for the break up.