The very first thing to do is a 'not to':

absolutely do not tell anyone.

Depending on your country the laws governing Intellectual Propert will differ. Here in the UK we have this site: http://www.ipo.gov.uk/

However you should find something similar online or seek advice from them by phone before doing anything (including prototyping with a third party company).