Help gaining weight

Ka

So my doctor put me on birth control and told me to try and put on some weight. I have never been able to successfully gain weight. At all. Is there anything over the counter I can take to help gain some weight??