Hello. I would like to help you find an answer.
You are probably fine, but I would just open the doors and windows and leave the house for a few hours.
Also, call the gas company and let them know what happened after you leave.
They will come out and inspect for free to make sure there is no residual gas in the house.
If it was toxic gas then yes. But, natural gas (which I am assuming it is) is pretty safe.
I would be more worried about an explosion.
Do the above and you will be fine.