Once h1 stamping is done is okay to transfer to new client

I’ve stamped h1 on A company 2 weeks back, I have other offer with B employer is it okay to transfer immediately as i just got stamped 2 weeks

Yes, there is no issue with transferring.

Thanks for the info, just to know some info , how many times we can transfer our h1 do we have limit to transfer h1’s? or we dont any such rule?

No such rule, you can change employer as many times as you want.