There are agencies that handle all that stuff for you for a small fee.

The biggest thing you have to do is make sure someone else didn't patent it then sleep on it, which does happen.