Not enough information here to really answer the question. It matters what court this is (small claims/justice court, county court, district court, etc) what kind of case this is, exactly what is is you were served (e.g. a summons and complaint or something else) and what the purpose of the hearing is. It is pretty unusual to have a hearing scheduled for just two days after you are served with the complaint, if that's what was served. If you are a party to the case, generally the way you ask for more time is by filing a motion to continue, but without more info there is no way to guess if that is possibility in your situation.