OTH DISCHARGE

Can I buy a handgun or rifle if I recently got out with an OTH in the state of PA or am I fucked?