Nauseous after taking pill?

I worked out about 20 mins after I took my birth control pill and I’ve been feeling sick since then and hours later , extremely hungry but it’s hard to eat. First , do you think this affected the medicine any kind of way, and second , should I start working out way before I take it? I usually wait til 20-30 mins after taking my pill to lay down, usually 30 but I figured exercising wouldn’t bother my stomach but it did .