Typically, the mental effects of the medication subside within an hour. However, you might still feel some physical effects for up to three hours, so it's best to rest until they fully dissipate.
Allow yourself plenty of time to recover before resuming normal activities, as the feeling of being loopy or groggy could last into the night.
After your session, avoid driving or operating heavy machinery and make no significant decisions until the effects have fully worn off.
Learn more about session monitoring and post-care here.