You can schedule it from a limited number of dates/times which are provided by PearsonVue which is PMI's examination proctoring partner. Both in person and online exam options are available depending on the degree of COVID-19 restrictions in the local area. I'd recommend visiting the certification pages for the PMP on pmi.org to get the full details...
I took the exam in-person and failed. The noise cancelling headset started hurting after an hour and having to wear a mask ...well it was not comfortable...a distraction for concentrating. I'm taking my second sitting for the exam at home in pajamas!!! Like PMI says! If you have no choice but to take in person I highly suggest to do practice 4 hour practice exams with mask and headset on. Best to you Rahul! Saving Changes...