Kegels exercise

How do I know I’m doing it right . The way I’m doing it is like “the dick grip trick” like if your having sex and your squeezing the penis with your vagina or is that alll wrong?? Lol . I heard it’s like stopping your pee , I’m probably just gonna have to try when I’m peeing to see how it’s really supposed to go