Send data to program

Is there a way to send data to a program running on an arduino trough a usb?

Yes.
A terminal emulator, or the serial monitor.