If it's completely flat, you can check if it's punctured or not. Fill the tire up again and check after a little while if it's held its pressure or not. If air has been leaking, you may need to repair the tire or have it replaced.