To clear RAM on your phone, go to Settings, then tap on Apps. Select the app you want to close and click on Force Stop. Repeat for all apps to free up memory.