max dose of paracetamol every 4 hours is 500mg I think, so if you only took 1 paracetamol tablet, then you should be able to take one co codamol, as this should only contain 250mg paracetamol, plus codeine.
I would also take the ibuprofen, as this works differently and will help ease the pain