Nsaid is safe or not

Hey guys I hope you all doing well last week I had an accident and hurt my ligament my doctor put me on nsaid for 4 days I want to ask is it safe or will amplify my pfs

I think they are safe.