Yes. Check your contract. If it's pukka there will be no notice period on the client side. They can ask you to leave on the spot. This is a good thing.
OK at the risk of sounding an even greater noob, why is it good that they can end with no notice.
Failing that spend the next week planning your work load and produce a nice road map to completion with relavent milestones etc that just happens to take 3 months. Present this to your PM. Get every milestone done ahead of schedule and spend the rest of the time posting crap on here. You'll soon get the hang of it
A Sound plan