When you "can't control yourself", it means that you act based on your feelings instead of your thoughts. You can use this phrase to talk about doing something that you shouldn't do:
When he said that, I couldn't control myself. I jumped forward and punched him right in his face.
But you can also talk about something positive:
When I hear that kind of music, I can't control myself. I have to dance!