I cant figure out how to do a prime number finding program

I cant figure out how to do a prime number finding program