pregnancy tests

After two months since last time having sex would you get an accurate result ??