Is it ok to take percocet and parafon forte together?

Yes. Yes if both are prescribed to you. The combination may lead to excess sedation.
Be careful. Either medication can cause sedation, so both together could be too strong. You have to be careful, and if you must take both medications, try and separate them by a few hours. Speak to your doctor or pharmacist if you have questions.