First find out why: the rejection message, the website's status page or the office will give the reason. Common reasons are a wrong name or number, a missing paper, or an income or age outside the limit.
If it was a mistake you can correct, apply again with the right papers. If you think the rejection is wrong, you can appeal to the office or complain online.
If your application is rejected