Can you gain weight if you go on the pill?

I'm a dancer and soon to be going on to do it profecionally and I'm wanting to go on the pill but Iv heard you can gain weight by it and that really not what I'm wanting... Help? 😫💛