This is not something that you should try to do by yourself. While filing a motion to obtain a writ of possession and setting a hearing before the judge in the foreclosure case is not difficult for an experienced lawyer, it is a process that is fraught with difficulties for even the most intelligent lay person. Hire an experienced real estate litigator to help you.
Disclaimer: This answer is provided for informational purposes only, does not constitute legal advice, and does not create an attorney-client relationship. Actual legal advice can only be provided after completing a comprehensive consultation in which all of the relevant facts are discussed and reviewed.
One of the most important reasons you should consult an attorney is the possibility that a tenant may be residing in the property, and protected by the "Protecting Tenants at Foreclosure Act." This will may it very difficult to get an eviction. There is a certain procedure that must be followed, in order to obtain an eviction, otherwise you may lose alot of time and money.