Think before you post something. If what you say really hurt someone , or come back to haunt you. Think first. It only takes a second or two. Ask yourself if you really want to say it. Make sure you don't mind if your friends or teachers hear about it later.
At the same time , we all make mistakes. If you find yourself wishing you hadn't said or done something , it's never too late to apologize :)