Can some one tell me the algorithm or procedure of how to find prime numbers ??

Note Im not asking that how to code it just asking the way of it.