It depends on your liver. If you are a healthy young person, 1.
5 grams of paracetamol is safe. However, toxicity can still happen even when adhering to safe doses. I would try to take as little paracetamol as possible. In addition, you are only treating pain with paracetamol. You should also treat the underlying cause that is causing the pain.