This paper focuses on the phenomenon of bullying in the electronic environment - cyberbullying. It is divided in two parts - a theoretical part in which we define basic concepts such as bullying and cyberbullying, as they are important in our context. The contribution includes several definitions of cyberbullying from authors who first thought of this topic. Cyberbullying also includes various forms, which, together with their means, are elaborated at work. It is important to explain basic bullying that we compare with cyberbullying. Our goal is to design options and solutions for its prevention and elimination. The research part is in the form of a quantitative questionnaire which analyzes the issue of cyberbullying through the eyes of secondary school pupils, especially their real experience and knowledge of the assumed subject to achieve the idea of the current state. We discovered whether students were bullying someone over the internet, cyberbullying, and how they matched cyberbullying. The aim of our research questions was also to find out if students are familiar with some of the web sites that deal with cyberbullying prevention and whether their school provides enough information to address this issue.