There are many possibilities. Too many to name hear. For example
Hire counsel to get a fix.
You have to read the court rules on exactly what format you must present your motion. Down to a page limit, the layout of the page, margin sizes, timeliness, content. There is a reason lawyers go to law school and get paid for what they do.
This should not be considered legal advice and is intended for educational purposes only. It does not constitute a contract for legal services between any parties. Answers are given to questions for which there may be additional facts not mentioned which might change the legal issues or consequences.