If a guy knows you like them what do you do?

You should wait a little bit and see if he asks you and if he doesnt then that means that he doesnt like you but you should ask him out and be prepared for a no.