It may be possible to extend your O or P visa if you are able to demonstrate that you need additional time to complete your work in the US. You may also be able to change to a different visa status, such as a green card if you meet the eligibility requirements.