If you believe the sacraments were instituted by Christ, then you go to mass, even if it's boring and people are mean to you. If you stop going to mass, you need to ask yourself if you've stopped believing that Christ instituted the sacraments to bring us to salvation.