H1B Visa Transfer

Hello,I am currently on OPT and my company is going to apply for my H1B on April 1, 2015. Now, if I get a new job in June/July, can I join this new company? What will happen to my H1B visa? Can I get my visa transferred to this new company?