In recent year, the number of users in social media has been increased multiple times when compared to the past. The bullying like abuse word, aggressive text or posting some unwanted messages are common in social media. So, the women feel unsecured in the society. Although a lot of techniques and methodology has been raised, but still the problem remains same. The major problem is the abuse word can be eliminated by the mean of report to the particular social media like Twitter, Facebook etc. In this methodology the unwanted message can be truncated in between the sender and receiver itself using the machine learning techniques. Sentiment analysis is a challenge of the Natural Language Processing (NLP), text analytics and computational linguistics which also helps in identifying the bad tweet in social media network. Its initial use was made to analyze sentiment based on long texts such as letters, emails and so on. It is also deployed in the field of pre-as well as post-crime analysis of criminal activities. This paper proposes a supervised machine learning approach for detecting and preventing cyberbullying.