Kegels

What do kegels actually help with what are the benefits of doing them?🤔 i done some tonight and then started cramping in the bottom of my stomach so not sure if I should do them again or if I’m doing them right can you squeeze too much don’t want to end up doing any harm to baby or something ??