A carboniferous swamp is one of the most dangerous places you could hope to be in. If we're assuming I have the materials to and know how to fix my time machine, I'd start doing that as soon as possible, while finding high ground to spend my time because the only threats would be giant insects and mosquitoes and stuff. Then I'd try my best to get out...