Hi Pragathi,
If you are using the PDF Document Generation module, wrap each question, including its answers/options, inside a single Container. Then select that container and, in the Styling tab, enable the design property Avoid break inside.
You can also use the Page break widget or the Add page break property when you need to force a break before or after a specific section.